/* ==========================================================================
   THPT ĐỒNG GIA (HẢI PHÒNG) - HOMEPAGE STYLESHEET
   Design System & Components
   ========================================================================== */

:root {
  --primary-color: #3C811E;
  --primary-dark: #2c6315;
  --primary-light: #4c9e28;
  --primary-gradient: linear-gradient(90deg, #3C811E 0%, #296810 100%);
  --accent-gold: #ffc107;
  --accent-blue: #1877f2;
  --accent-red: #e74c3c;
  
  --bg-body: #f4f6f9;
  --bg-card: #ffffff;
  --bg-footer: #eaf4f8;
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  
  --text-main: #2d3748;
  --text-muted: #718096;
  --text-light: #ffffff;
  --text-heading: #1a202c;
  
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

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

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==========================================================================
   1. TOP BAR
   ========================================================================== */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #edf2f7;
  padding: 4px 0;
  font-size: 13px;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-logo-hp img {
  height: 38px;
  object-fit: contain;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-nav-link {
  color: #4a5568;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-nav-link:hover {
  color: var(--primary-color);
}

.top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--accent-blue);
  color: #fff !important;
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(24, 119, 242, 0.4);
}

/* ==========================================================================
   2. MAIN BANNER
   ========================================================================== */
.hero-banner {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-color);
}

.hero-banner a {
  display: block;
}

.hero-banner img {
  width: 100%;
  min-height: 120px;
  object-fit: cover;
}

/* ==========================================================================
   3. MAIN NAVIGATION MENU (STICKY GREEN BAR)
   ========================================================================== */
.main-navigation {
  background: var(--primary-gradient);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.nav-menu-list {
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-menu-list::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 14px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s ease, border-bottom 0.2s ease;
}

.nav-link i.fa-home {
  font-size: 17px;
}

.nav-link:hover,
.nav-item.active .nav-link {
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid #ffeb3b;
}

.mega-menu-btn {
  color: #fff;
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
}

.mega-menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Mega Menu Dropdown */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  max-width: 800px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  padding: 20px;
  z-index: 1050;
  animation: fadeIn 0.2s ease-out;
}

.mega-menu-panel.show {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.mega-menu-card h5 {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.mega-menu-card h5 a {
  color: var(--primary-color);
}

.mega-menu-card h5 a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   4. SUB-TOOLBAR (DATE TIME, MARQUEE, UTILITIES, SEARCH)
   ========================================================================== */
.sub-toolbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 6px 0;
  font-size: 12.5px;
}

.toolbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toolbar-time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4a5568;
  font-weight: 600;
  white-space: nowrap;
}

.toolbar-time i {
  color: var(--primary-color);
}

.toolbar-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #f7fafc;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px dashed #cbd5e0;
}

.ticker-content {
  display: inline-block;
  animation: ticker 35s linear infinite;
  color: #c53030;
  font-weight: 600;
}

.toolbar-ticker:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.rss-btn {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  background: #ff7b00;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  gap: 4px;
}

/* Language selector */
.lang-select-box {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #edf2f7;
  border: 1px solid #cbd5e0;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #cbd5e0;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  display: none;
  min-width: 130px;
  z-index: 1020;
}

.lang-dropdown.show {
  display: block;
}

.lang-item {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
}

.lang-item:hover {
  background: #f7fafc;
  color: var(--primary-color);
}

/* Search Box */
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e0;
  border-radius: 3px;
  overflow: hidden;
  width: 240px;
}

.search-input {
  border: none;
  outline: none;
  padding: 5px 8px;
  font-size: 12.5px;
  flex: 1;
}

.search-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-btn:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   5. MAIN CONTENT LAYOUT (3 COLUMNS)
   ========================================================================== */
.main-wrapper {
  padding: 16px 0 24px;
}

.portal-grid {
  display: grid;
  grid-template-columns: 240px 1fr 270px;
  gap: 16px;
  align-items: start;
}

/* Section Card Base */
.portal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-header-bar {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary-dark);
}

.card-header-bar a {
  color: #ffffff;
}

.card-header-bar a:hover {
  color: #ffeb3b;
}

.card-body {
  padding: 12px;
}

/* ==========================================================================
   6. LEFT SIDEBAR (DANH MỤC & TIỆN ÍCH)
   ========================================================================== */
.category-tree-menu {
  list-style: none;
}

.cat-item {
  border-bottom: 1px solid #edf2f7;
}

.cat-item:last-child {
  border-bottom: none;
}

.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  color: #2d3748;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.cat-link:hover {
  background-color: #f7fafc;
  color: var(--primary-color);
  padding-left: 15px;
}

.cat-accordion-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #718096;
  padding: 4px;
  font-size: 11px;
}

.cat-sub-menu {
  list-style: none;
  background-color: #f8fafc;
  display: none;
  border-top: 1px solid #edf2f7;
}

.cat-sub-menu.show {
  display: block;
}

.cat-sub-link {
  display: block;
  padding: 7px 12px 7px 24px;
  font-size: 12.5px;
  color: #4a5568;
  border-bottom: 1px dashed #e2e8f0;
}

.cat-sub-link:hover {
  color: var(--primary-color);
  background: #f1f5f9;
}

.sidebar-ad-banner {
  margin-top: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
}

.sidebar-ad-banner img {
  width: 100%;
  transition: transform 0.3s ease;
}

.sidebar-ad-banner:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   7. CENTER COLUMN (FEATURE SLIDER, NEWS, BLOCKS, TABS)
   ========================================================================== */
/* Main Feature News Slider */
.featured-slider-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.slider-main-screen {
  position: relative;
  height: 340px;
  background: #1a202c;
  overflow: hidden;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: #fff;
}

.slide-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-title:hover {
  color: #ffeb3b !important;
}

.slide-desc {
  font-size: 12.5px;
  color: #e2e8f0;
  margin-top: 4px;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.slider-arrow:hover {
  background: var(--primary-color);
}

.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }

/* Slider Thumbnails Strip */
.slider-thumbs-strip {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 8px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}

.thumb-item {
  flex: 0 0 100px;
  height: 60px;
  cursor: pointer;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--primary-color);
  opacity: 1;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Latest News Widget */
.latest-news-list {
  list-style: none;
}

.latest-news-item {
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
}

.latest-news-item:last-child {
  border-bottom: none;
}

.news-link {
  color: #2d3748;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  display: inline;
}

.news-link:hover {
  color: var(--primary-color);
}

.icon-new-tag {
  display: inline-block;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

.news-date {
  color: #a0aec0;
  font-size: 11.5px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Two-column Feature Box (e.g. Chuyên môn, Đoàn thể) */
.split-feature-box {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: start;
}

.split-feature-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #edf2f7;
}

.split-feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.split-feature-thumb:hover img {
  transform: scale(1.05);
}

.split-feature-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.split-feature-content h4 a {
  color: #1a202c;
}

.split-feature-content h4 a:hover {
  color: var(--primary-color);
}

.split-sub-list {
  margin-top: 10px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.split-sub-item a {
  font-size: 12.5px;
  color: #4a5568;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.split-sub-item a:hover {
  color: var(--primary-color);
}

/* Tabbed Section: Tin từ Sở GD&ĐT Hải Phòng */
.tabs-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7fafc;
  border-bottom: 2px solid var(--primary-color);
  padding: 6px 12px;
}

.tabs-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tabs-title-group img {
  width: 22px;
  height: 22px;
}

.tabs-title-group h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
}

.tab-nav-buttons {
  display: flex;
  gap: 4px;
}

.tab-btn {
  background: #edf2f7;
  border: 1px solid #cbd5e0;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #4a5568;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.tab-panel {
  display: none;
  padding: 12px;
}

.tab-panel.active {
  display: block;
}

.tab-grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tab-news-item {
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.tab-news-item a {
  font-size: 13px;
  color: #2d3748;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.tab-news-item a:hover {
  color: var(--primary-color);
}

.tab-read-more {
  text-align: right;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

.tab-read-more a {
  color: var(--primary-color);
}

/* ==========================================================================
   8. RIGHT SIDEBAR (THƯ VIỆN ẢNH, ĐỌC NHIỀU, LIÊN KẾT, THỐNG KÊ)
   ========================================================================== */
/* Photo Gallery Carousel */
.photo-gallery-slider {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/11;
}

.photo-gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.photo-gallery-slide.active {
  display: block;
}

.photo-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

/* Top Read News (Đọc nhiều nhất) */
.top-read-list {
  list-style: none;
}

.top-read-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  gap: 10px;
}

.top-read-item:last-child {
  border-bottom: none;
}

.top-read-item a {
  font-size: 12.5px;
  color: #2d3748;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.top-read-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf2f7;
  color: #4a5568;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-read-item:nth-child(1) .top-read-badge {
  background: #e53e3e;
  color: #fff;
}

.top-read-item:nth-child(2) .top-read-badge {
  background: #dd6b20;
  color: #fff;
}

.top-read-item:nth-child(3) .top-read-badge {
  background: #38a169;
  color: #fff;
}

/* Quick Action Banners */
.quick-action-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-banner-link {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* QR Code Card */
.qr-code-box {
  text-align: center;
  padding: 10px;
}

.qr-code-box img {
  margin: 0 auto;
  width: 140px;
  height: 140px;
  border: 1px solid #cbd5e0;
  padding: 4px;
  background: #fff;
}

/* Visitor Counter Table (Thống kê truy cập) */
.visitor-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.stat-counter-digits {
  text-align: center;
  padding: 8px 0;
  background: #2d3748;
  border-radius: 4px;
  margin-bottom: 8px;
}

.digit-box {
  display: inline-block;
  background: #1a202c;
  color: #68d391;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 800;
  padding: 2px 5px;
  margin: 0 1px;
  border-radius: 2px;
  border: 1px solid #4a5568;
}

.visitor-stats-table tr {
  border-bottom: 1px solid #edf2f7;
}

.visitor-stats-table td {
  padding: 6px 4px;
}

.stat-label {
  color: #4a5568;
}

.stat-value {
  text-align: right;
  font-weight: 700;
  color: #2d3748;
}

/* ==========================================================================
   9. FOOTER SECTION & CONTACT INFO (CRITICAL REQUIREMENT)
   ========================================================================== */
.site-footer {
  margin-top: 30px;
  border-top: 3px solid var(--primary-color);
}

/* Secondary Footer Nav Bar */
.footer-nav-bar {
  background: var(--primary-gradient);
  padding: 8px 0;
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav-link {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-nav-link:hover {
  color: #ffeb3b !important;
}

/* Main Footer Container */
.footer-main-card {
  background-color: var(--bg-footer);
  padding: 24px 0 18px;
  color: #2d3748;
  border-bottom: 1px solid #cbd5e1;
}

.footer-inner-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #cbd5e1;
}

.footer-school-seal {
  width: 95px;
  height: 95px;
  flex-shrink: 0;
}

.footer-school-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  border: 1px solid #cbd5e1;
}

.footer-contact-details {
  flex: 0 1 auto;
}

.school-name-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a202c;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.contact-row {
  margin-bottom: 5px;
  font-size: 13.5px;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-row i {
  color: var(--primary-color);
  width: 16px;
  text-align: center;
}

.contact-row strong {
  color: #2d3748;
}

.footer-partner-brand {
  flex-shrink: 0;
  text-align: right;
}

.footer-partner-brand img {
  width: 140px;
}

.footer-copyright-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 14px;
  font-size: 12.5px;
  color: #4a5568;
}

.footer-copyright-bar a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Sitemap bottom strip */
.sitemap-strip {
  background: #edf2f7;
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
}

.sitemap-strip a {
  color: #4a5568;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-strip a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   10. FLOATING ACTION WIDGETS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1080;
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.float-facebook {
  background-color: #1877f2;
}

.float-phone {
  background-color: #25d366;
  animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-back-to-top {
  background-color: var(--primary-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.float-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .portal-grid {
    grid-template-columns: 220px 1fr;
  }
  
  .right-sidebar-col {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu-list.show {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .toolbar-flex {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-form {
    width: 100%;
  }
  
  .portal-grid {
    grid-template-columns: 1fr;
  }
  
  .right-sidebar-col {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .slider-main-screen {
    height: 240px;
  }
  
  .split-feature-box {
    grid-template-columns: 1fr;
  }
  
  .tab-grid-content {
    grid-template-columns: 1fr;
  }
  
  .footer-inner-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-row {
    justify-content: center;
  }
  
  .footer-partner-brand {
    text-align: center;
  }
  
  .footer-copyright-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
