/* ==========================================
   CỔNG THÔNG TIN ĐIỆN TỬ CÔNG AN TỈNH
   Global Stylesheet
   ========================================== */

/* === Variables === */
:root {
    --primary: #b30000;
    --primary-dark: #8b0000;
    --primary-light: #d42020;
    --gold: #d4a017;
    --gold-light: #f5e6b8;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-light: #1a1a2e;
    --bg-white: #16213e;
    --text-dark: #e0e0e0;
    --text-muted: #a0a0a0;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    transition: var(--transition);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* === Typography === */
.heading-xl { font-size: 36px; font-weight: 900; }
.heading-lg { font-size: 28px; font-weight: 700; }
.heading-md { font-size: 22px; font-weight: 700; }
.text-article { font-size: 18px; line-height: 1.9; }
.text-meta { font-size: 14px; color: var(--text-muted); }

/* === Topbar === */
.topbar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}
.topbar a { color: rgba(255, 255, 255, 0.9); transition: var(--transition); }
.topbar a:hover { color: var(--gold-light); }
.topbar .social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); margin-left: 6px; font-size: 12px;
}
.topbar .social-links a:hover { background: var(--gold); color: #fff; }

/* === Header === */
.main-header {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}
.header-logo { display: flex; align-items: center; gap: 15px; }
.header-logo .logo-img {
    width: 65px; height: 65px; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 30px; font-weight: 900; border: 3px solid var(--gold);
    overflow: hidden;
}
.header-logo .logo-img img {
    width: 100%; height: 100%; object-fit: contain; padding: 5px;
}
.header-logo .site-title .sub-title {
    font-size: 12px; color: var(--primary); text-transform: uppercase;
    font-weight: 500; letter-spacing: 1px;
}
.header-logo .site-title .main-title {
    font-size: 22px; font-weight: 900; color: var(--primary); text-transform: uppercase;
}
.search-box { position: relative; }
.search-box input {
    border: 2px solid #e0e0e0; border-radius: 25px;
    padding: 10px 45px 10px 20px; width: 300px; font-size: 14px;
    transition: var(--transition); background: var(--bg-light); color: var(--text-dark);
}
.search-box input:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1);
}
.search-box button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    border: none; background: var(--primary); color: #fff;
    width: 35px; height: 35px; border-radius: 50%; cursor: pointer;
    transition: var(--transition);
}
.search-box button:hover { background: var(--primary-dark); }

/* === Navigation === */
.main-nav {
    background: var(--primary); position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); transition: var(--transition);
}
.main-nav.scrolled { background: var(--primary-dark); }
.main-nav .nav-link {
    color: #fff !important; font-weight: 500; font-size: 14px;
    padding: 14px 16px !important; text-transform: uppercase;
    letter-spacing: 0.5px; position: relative; transition: var(--transition);
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold-light) !important;
}
.main-nav .nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: var(--gold); transition: var(--transition);
}
.main-nav .nav-link:hover::after { width: 80%; }

/* Mega Menu */
.nav-item-mega { position: relative; }
.mega-menu {
    position: absolute; top: 100%; left: 0; min-width: 600px;
    background: var(--bg-white); box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius); padding: 25px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); z-index: 2000;
}
.nav-item-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu h6 { color: var(--primary); font-weight: 700; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; }
.mega-menu ul { list-style: none; padding: 0; }
.mega-menu ul li { margin-bottom: 6px; }
.mega-menu ul li a { color: var(--text-dark); font-size: 13px; transition: var(--transition); }
.mega-menu ul li a:hover { color: var(--primary); padding-left: 5px; }

/* Mobile Menu */
.mobile-menu-btn {
    display: none; background: none; border: none;
    color: #fff; font-size: 24px; cursor: pointer; padding: 10px;
}

/* === Breadcrumb === */
.breadcrumb-section { background: var(--bg-white); padding: 12px 0; border-bottom: 1px solid #eee; }
.breadcrumb-section .breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-section .breadcrumb a { color: var(--primary); }
.breadcrumb-section .breadcrumb-item.active { color: var(--text-muted); }

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff; padding: 40px 0;
}
.page-header h1 { font-size: 32px; font-weight: 900; }
.page-header p { opacity: 0.85; font-size: 15px; margin-top: 8px; }

/* === Breaking News Ticker === */
.breaking-news {
    background: var(--primary-dark); color: #fff; padding: 8px 0;
    overflow: hidden; border-bottom: 2px solid var(--gold);
}
.breaking-label {
    background: var(--gold); color: var(--primary-dark); padding: 4px 12px;
    font-weight: 700; font-size: 12px; text-transform: uppercase;
    border-radius: 3px; white-space: nowrap; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }
.ticker-wrap { overflow: hidden; flex: 1; margin-left: 15px; }
.ticker {
    display: inline-block; white-space: nowrap;
    animation: ticker 30s linear infinite; font-size: 14px;
}
.ticker span { padding: 0 30px; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* === Section Headers === */
.section-title {
    font-size: 22px; font-weight: 700; color: var(--primary);
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 3px solid var(--primary); position: relative; display: inline-block;
}
.section-title::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 50px; height: 3px; background: var(--gold);
}
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; border-bottom: 3px solid var(--primary); padding-bottom: 12px;
}
.section-header h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 0; }
.section-header .view-all { color: var(--primary); font-size: 14px; font-weight: 500; }
.section-header .view-all:hover { color: var(--gold); }

/* === Hero Slider === */
.hero-section { padding: 25px 0; }
.hero-main {
    position: relative; border-radius: var(--radius); overflow: hidden;
    height: 450px; box-shadow: var(--shadow);
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); color: #fff;
}
.hero-slide .overlay .badge-cat {
    background: var(--primary); color: #fff; padding: 4px 12px;
    border-radius: 3px; font-size: 12px; font-weight: 600;
    margin-bottom: 10px; display: inline-block;
}
.hero-slide .overlay h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.hero-slide .overlay p { font-size: 14px; opacity: 0.85; margin: 0; }
.hero-controls {
    position: absolute; bottom: 15px; right: 15px; z-index: 10; display: flex; gap: 5px;
}
.hero-controls button {
    width: 35px; height: 35px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, 0.9); color: var(--primary);
    cursor: pointer; transition: var(--transition); font-size: 14px;
}
.hero-controls button:hover { background: var(--gold); color: #fff; }

.hero-side-news .side-item {
    display: flex; gap: 12px; padding: 12px; background: var(--bg-white);
    border-radius: var(--radius); margin-bottom: 10px;
    box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
}
.hero-side-news .side-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.hero-side-news .side-item img {
    width: 100px; height: 70px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.hero-side-news .side-item h4 {
    font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-side-news .side-item .meta { font-size: 12px; color: var(--text-muted); }

/* === News Cards === */
.news-card {
    background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition); height: 100%;
    display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.news-card .card-img { position: relative; overflow: hidden; height: 200px; }
.news-card .card-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.news-card:hover .card-img img { transform: scale(1.05); }
.news-card .card-img .badge-cat {
    position: absolute; top: 12px; left: 12px; background: var(--primary);
    color: #fff; padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 600;
}
.news-card .card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-card .card-body h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .card-body h3 a { color: var(--text-dark); transition: var(--transition); }
.news-card .card-body h3 a:hover { color: var(--primary); }
.news-card .card-body .excerpt {
    font-size: 14px; color: var(--text-muted); margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; flex: 1;
}
.news-card .card-body .card-meta {
    font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 12px;
}

/* === Featured Article (Category Page) === */
.featured-article {
    display: flex; gap: 20px; background: var(--bg-white);
    border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; margin-bottom: 25px; transition: var(--transition);
}
.featured-article:hover { box-shadow: var(--shadow-hover); }
.featured-article img { width: 400px; height: 260px; object-fit: cover; flex-shrink: 0; }
.featured-article .content { padding: 25px; display: flex; flex-direction: column; justify-content: center; }
.featured-article .content .badge-cat {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 600;
    margin-bottom: 10px; width: fit-content;
}
.featured-article .content h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.featured-article .content h2 a { color: var(--text-dark); }
.featured-article .content h2 a:hover { color: var(--primary); }
.featured-article .content p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }

/* === Category Blocks === */
.category-block { margin-bottom: 30px; }
.cat-main-article { display: flex; gap: 15px; margin-bottom: 15px; }
.cat-main-article img {
    width: 250px; height: 160px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0;
}
.cat-main-article .content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cat-main-article .content h3 a { color: var(--text-dark); }
.cat-main-article .content h3 a:hover { color: var(--primary); }
.cat-main-article .content p {
    font-size: 14px; color: var(--text-muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-sub-list .sub-item { padding: 8px 0; border-bottom: 1px dashed #ddd; }
.cat-sub-list .sub-item:last-child { border: none; }
.cat-sub-list .sub-item a {
    color: var(--text-dark); font-size: 14px;
    display: flex; align-items: flex-start; gap: 8px;
}
.cat-sub-list .sub-item a::before {
    content: '\203A'; color: var(--primary); font-weight: 700; font-size: 18px; line-height: 1;
}
.cat-sub-list .sub-item a:hover { color: var(--primary); }

/* === Sidebar === */
.sidebar-widget {
    background: var(--bg-white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px;
}
.sidebar-widget .widget-title {
    font-size: 18px; font-weight: 700; color: var(--primary);
    margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary);
}
.popular-list .popular-item {
    display: flex; gap: 10px; padding: 10px 0;
    border-bottom: 1px solid #eee; align-items: flex-start;
}
.popular-list .popular-item:last-child { border: none; }
.popular-list .popular-item .num {
    width: 28px; height: 28px; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.popular-list .popular-item .num.gold { background: var(--gold); }
.popular-list .popular-item h5 { font-size: 14px; font-weight: 500; margin: 0; line-height: 1.4; }
.popular-list .popular-item h5 a { color: var(--text-dark); }
.popular-list .popular-item h5 a:hover { color: var(--primary); }

.notice-list .notice-item { padding: 10px 0; border-bottom: 1px solid #eee; }
.notice-list .notice-item:last-child { border: none; }
.notice-list .notice-item a {
    color: var(--text-dark); font-size: 14px;
    display: flex; align-items: flex-start; gap: 8px;
}
.notice-list .notice-item a:hover { color: var(--primary); }
.notice-list .notice-item a i { color: var(--primary); margin-top: 3px; }
.notice-list .notice-item .date { font-size: 12px; color: var(--text-muted); margin-left: 22px; }

.banner-widget img { width: 100%; border-radius: var(--radius); transition: var(--transition); }
.banner-widget img:hover { opacity: 0.9; }

/* Category List (sidebar) */
.cat-list { list-style: none; padding: 0; }
.cat-list li { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.cat-list li:last-child { border: none; }
.cat-list li a { color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; }
.cat-list li a:hover { color: var(--primary); }
.cat-list li a .count { background: var(--bg-light); padding: 2px 8px; border-radius: 10px; font-size: 12px; color: var(--text-muted); }

/* === Video Section === */
.video-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 50px 0; margin: 40px 0;
}
.video-section .section-title { color: #fff; border-color: var(--gold); }
.video-section .section-title::after { background: var(--primary); }
.video-main {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 350px;
}
.video-main img { width: 100%; height: 100%; object-fit: cover; }
.video-main .play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; background: rgba(179, 0, 0, 0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px; cursor: pointer; transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.5);
}
.video-main .play-btn:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--primary); }
.video-main .video-title {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff; font-size: 16px; font-weight: 600;
}
.video-list .video-item {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer;
}
.video-list .video-item:hover .title { color: var(--gold); }
.video-list .video-item img {
    width: 120px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.video-list .video-item .title { color: #fff; font-size: 14px; font-weight: 500; transition: var(--transition); }
.video-list .video-item .duration { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 5px; }

/* === Gallery === */
.gallery-section { padding: 40px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid .gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 200px; cursor: pointer;
}
.gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; height: 100%; }
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid .gallery-item:hover img { transform: scale(1.1); }
.gallery-grid .gallery-item .gallery-overlay {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.gallery-grid .gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-grid .gallery-item .gallery-overlay i { color: #fff; font-size: 32px; }

/* === Wanted Section === */
.wanted-section { padding: 40px 0; background: var(--bg-white); }
.wanted-card {
    background: var(--bg-light); border-radius: var(--radius); overflow: hidden;
    text-align: center; padding: 15px; transition: var(--transition); border: 2px solid transparent;
}
.wanted-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.wanted-card .wanted-img {
    width: 120px; height: 150px; margin: 0 auto 12px; border-radius: var(--radius);
    overflow: hidden; border: 3px solid var(--primary);
}
.wanted-card .wanted-img img { width: 100%; height: 100%; object-fit: cover; }
.wanted-card .wanted-name { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.wanted-card .wanted-info { font-size: 12px; color: var(--text-muted); }
.wanted-card .wanted-badge {
    display: inline-block; background: var(--primary); color: #fff;
    font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-top: 8px; font-weight: 600;
}

/* === Statistics === */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 50px 0; color: #fff;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item .stat-icon { font-size: 40px; color: var(--gold); margin-bottom: 10px; }
.stat-item .stat-number { font-size: 36px; font-weight: 900; margin-bottom: 5px; }
.stat-item .stat-label { font-size: 14px; opacity: 0.9; }

/* === Services === */
.services-section { padding: 40px 0; }
.service-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 25px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
    height: 100%; border-top: 4px solid transparent; display: block; color: var(--text-dark);
}
.service-card:hover { border-top-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-5px); color: var(--text-dark); }
.service-card .service-icon {
    width: 65px; height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px; color: #fff; font-size: 28px; transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; }
.level { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.level-4 { background: #d4edda; color: #155724; }
.level-3 { background: #fff3cd; color: #856404; }
.level-2 { background: #cce5ff; color: #004085; }

/* === Documents === */
.doc-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    background: var(--bg-light); border-radius: var(--radius); margin-bottom: 8px;
    transition: var(--transition);
}
.doc-item:hover { background: #e8e8e8; }
.doc-item .doc-icon {
    width: 40px; height: 40px; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 18px; flex-shrink: 0;
}
.doc-item .doc-info h5 { font-size: 13px; font-weight: 600; margin: 0 0 2px; }
.doc-item .doc-info span { font-size: 11px; color: var(--text-muted); }

/* === Timeline === */
.timeline-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.timeline-item .timeline-date {
    min-width: 60px; text-align: center; background: var(--primary);
    color: #fff; border-radius: var(--radius); padding: 8px 5px;
    flex-shrink: 0; height: fit-content;
}
.timeline-item .timeline-date .day { font-size: 22px; font-weight: 900; line-height: 1; }
.timeline-item .timeline-date .month { font-size: 11px; }
.timeline-item .timeline-content h5 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-item .timeline-content h5 a { color: var(--text-dark); }
.timeline-item .timeline-content h5 a:hover { color: var(--primary); }
.timeline-item .timeline-content p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* === Contact === */
.contact-info-card {
    background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 30px; height: 100%; transition: var(--transition); border-top: 4px solid var(--primary);
}
.contact-info-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.contact-info-card .icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; margin-bottom: 15px;
}
.contact-info-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.contact-info-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 5px; }
.contact-info-card a { color: var(--primary); font-weight: 600; }

.contact-form .form-control {
    border-radius: var(--radius); border: 2px solid #e0e0e0;
    padding: 12px 16px; font-size: 14px; transition: var(--transition);
}
.contact-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1); }

/* === Buttons === */
.btn-submit {
    background: var(--primary); color: #fff; border: none;
    padding: 14px 35px; border-radius: 25px; font-weight: 700;
    font-size: 15px; cursor: pointer; transition: var(--transition);
    display: inline-block;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); color: #fff; }

/* === Hotline Banner === */
.hotline-banner {
    background: linear-gradient(135deg, var(--gold), #e6b800);
    padding: 15px 0; text-align: center;
}
.hotline-banner .hotline-number {
    font-size: 28px; font-weight: 900; color: var(--primary-dark);
    display: inline-flex; align-items: center; gap: 10px;
}
.hotline-banner .hotline-text { font-size: 14px; color: var(--primary-dark); font-weight: 500; }

/* === Newsletter === */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 40px 0; color: #fff;
}
.newsletter-form { display: flex; gap: 10px; max-width: 500px; }
.newsletter-form input {
    flex: 1; padding: 12px 20px; border-radius: 25px; border: none; font-size: 14px; outline: none;
}
.newsletter-form button {
    padding: 12px 25px; border-radius: 25px; border: none;
    background: var(--gold); color: var(--primary-dark); font-weight: 700;
    cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* === Partners === */
.partners-section { padding: 30px 0; background: var(--bg-white); border-top: 1px solid #eee; }
.partner-logo {
    height: 50px; opacity: 0.6; transition: var(--transition); filter: grayscale(100%);
    display: flex; align-items: center; justify-content: center;
    padding: 10px 20px; background: var(--bg-light); border-radius: var(--radius);
}
.partner-logo:hover { opacity: 1; filter: grayscale(0); }
.partner-logo span { font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: center; }

/* === Footer === */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e, #0f0f23); color: #ccc; padding: 50px 0 0;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo .logo-circle {
    width: 55px; height: 55px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 24px; font-weight: 900; border: 2px solid var(--gold);
}
.footer-logo h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0; }
.footer-info p { font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-info p i { color: var(--gold); }
.footer-links h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: #aaa; font-size: 14px; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer-map { border-radius: var(--radius); overflow: hidden; height: 200px; }
.footer-map iframe { width: 100%; height: 100%; border: none; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0;
    margin-top: 40px; text-align: center; font-size: 13px;
}
.footer-simple { background: linear-gradient(135deg, #1a1a2e, #0f0f23); color: #ccc; padding: 30px 0; text-align: center; font-size: 13px; }
.footer-simple a { color: var(--gold); }

/* === Utilities === */
.dark-toggle {
    position: fixed; bottom: 80px; right: 20px; width: 45px; height: 45px;
    border-radius: 50%; background: var(--primary); color: #fff; border: none;
    cursor: pointer; box-shadow: var(--shadow-hover); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: var(--transition);
}
.dark-toggle:hover { background: var(--gold); }
.back-to-top {
    position: fixed; bottom: 20px; right: 20px; width: 45px; height: 45px;
    border-radius: 50%; background: var(--primary); color: #fff; border: none;
    cursor: pointer; box-shadow: var(--shadow-hover); z-index: 9999;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); transform: translateY(-3px); }

/* Scroll Animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Pagination === */
.pagination .page-link { color: var(--primary); border-radius: var(--radius) !important; margin: 0 3px; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* === Responsive === */
@media (max-width: 991px) {
    .mobile-menu-btn { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--primary-dark); flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    .nav-menu.show { display: flex; }
    .main-nav .nav-link { padding: 12px 20px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .hero-main { height: 300px; }
    .hero-slide .overlay h2 { font-size: 18px; }
    .search-box input { width: 200px; }
    .cat-main-article { flex-direction: column; }
    .cat-main-article img { width: 100%; height: 200px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .video-main { height: 250px; }
    .featured-article { flex-direction: column; }
    .featured-article img { width: 100%; height: 200px; }
    .mega-menu { display: none !important; }
}

@media (max-width: 576px) {
    .header-logo .site-title .main-title { font-size: 16px; }
    .header-logo .logo-img { width: 45px; height: 45px; font-size: 20px; }
    .search-box { display: none; }
    .hero-main { height: 220px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .gallery-item:first-child { grid-column: span 2; }
    .heading-xl { font-size: 24px; }
    .page-header h1 { font-size: 24px; }
}