/* =========================================
   1. CẤU HÌNH CHUNG & BIẾN MÀU
   ========================================= */
:root {
  --khan-blue: #1865f2;
  --khan-blue-hover: #1452c4;
  --text-dark: #333333;
  --text-grey: #666666;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --dark-blue-text: #0a2540;

  /* Màu EduMathEco */
  --primary-gradient: linear-gradient(135deg, #00b09b, #96c93d);
  --brand-green: #00b09b;

  /* Footer */
  --footer-bg-pink: #ffe6ea;
  --footer-text: #4a4a4a;

  /* Hexagon Config */
  --hex-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

/* Các Class tiện ích */
.hidden {
  display: none !important;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}
.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 176, 155, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 176, 155, 0.4);
}

/* =========================================
     2. HEADER & LOGO
     ========================================= */
.home-header,
.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.2s;
}
.logo-link:hover {
  transform: scale(1.03);
  opacity: 0.9;
}
.logo-img {
  height: 55px;
  width: auto;
}
.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-blue-text);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-item {
  font-weight: 600;
  font-size: 16px;
  color: #666;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}
.nav-item:hover {
  color: var(--brand-green);
}

/* =========================================
     3. HERO & HOME PAGE
     ========================================= */
body.home-page {
  background-color: var(--bg-light);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.main-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px 750px;
  background-color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}
.hero-text {
  max-width: 50%;
}
.hero-text h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #1a2e3b, #00b09b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
  line-height: 1.2;
}
.hero-right-content {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero-main-logo {
  height: 320px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}
.brand-line {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}
.line-top {
  font-size: 2.2rem;
  color: var(--brand-dark);
  margin-bottom: 5px;
}
.line-middle {
  font-size: 4rem;
  background: linear-gradient(90deg, #00b09b, #8bc34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}
.line-bottom {
  font-size: 2.2rem;
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.hero-slogan {
  font-size: 1.4rem;
  color: var(--text-light);
  font-style: italic;
  font-weight: 500;
  padding-right: 20px;
  border-right: 4px solid #4caf50;
  margin-top: 10px;
}

/* =========================================
     4. HỆ THỐNG LỤC GIÁC (GIỮ NGUYÊN)
     ========================================= */
.hex-wrapper-box {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -650px;
  margin-bottom: 150px;
  z-index: 10;
  height: 1100px;
  pointer-events: none;
}
.circle-ecosystem {
  position: relative;
  width: 1400px;
  height: 100%;
  pointer-events: auto;
}
.center-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 370px;
  background: transparent;
  border: 3px solid rgba(33, 150, 243, 0.3);
  clip-path: var(--hex-path);
  z-index: 0;
  animation: ripple-effect 3s infinite linear;
}
.center-ripple:nth-child(2) {
  animation-delay: 1s;
}
.center-ripple:nth-child(3) {
  animation-delay: 2s;
}
@keyframes ripple-effect {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
    border-width: 5px;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
    border-width: 0px;
  }
}

.hex-base {
  position: absolute;
  width: 400px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: var(--hex-path);
  background: #fff;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
  transition: 0.3s;
  z-index: 5;
  will-change: transform;
}
.hex-inner {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  background: #fff;
  clip-path: var(--hex-path);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 15px 10px;
  position: relative;
}
.hex-bg-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: var(--hex-path);
  z-index: -1;
}
.hex-link:hover {
  z-index: 100;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
  transform: translate(-50%, -50%) scale(1.1) !important;
}
.hex-link:hover .hex-bg-color {
  filter: brightness(1.2);
}
.hex-number {
  position: absolute;
  top: 10px;
  font-size: 45px;
  font-weight: 900;
  opacity: 0.4;
  z-index: 0;
}
.main-title {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 45px;
  margin-bottom: 8px;
  display: block;
  line-height: 1.2;
}
.desc-text {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.3;
  max-width: 90%;
  position: relative;
  z-index: 1;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.tech-item {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.tech-icon-wrapper {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  margin-bottom: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s;
}
.tech-item:hover .tech-icon-wrapper {
  transform: scale(1.2);
  z-index: 5;
  border-color: #ddd;
}
.tech-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tech-name {
  font-size: 10px;
  color: #777;
  text-align: center;
  font-weight: 600;
}

.center-hex {
  width: 440px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: #fff;
  filter: drop-shadow(0 0 40px rgba(33, 150, 243, 0.2));
}
.center-hex .hex-inner {
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  justify-content: center;
  padding: 0;
}
.center-hex h3 {
  font-size: 40px;
  font-weight: 900;
  color: #1565c0;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 5px rgba(255, 255, 255, 0.8);
}

/* Hexagon Colors & Positions */
.t-red .hex-bg-color {
  background: #e74c3c;
}
.t-red .hex-number,
.t-red .main-title {
  color: #e74c3c;
}
.t-yellow .hex-bg-color {
  background: #f1c40f;
}
.t-yellow .hex-number,
.t-yellow .main-title {
  color: #f39c12;
}
.t-blue .hex-bg-color {
  background: #3498db;
}
.t-blue .hex-number,
.t-blue .main-title {
  color: #3498db;
}
.t-orange .hex-bg-color {
  background: #e67e22;
}
.t-orange .hex-number,
.t-orange .main-title {
  color: #e67e22;
}
.t-green .hex-bg-color {
  background: #2ecc71;
}
.t-green .hex-number,
.t-green .main-title {
  color: #2ecc71;
}
.t-purple .hex-bg-color {
  background: #9b59b6;
}
.t-purple .hex-number,
.t-purple .main-title {
  color: #9b59b6;
}
.pos-1 {
  top: calc(50% - 430px);
  left: 50%;
  transform: translate(-50%, -50%);
}
.pos-2 {
  top: calc(50% - 215px);
  left: calc(50% + 375px);
  transform: translate(-50%, -50%);
}
.pos-3 {
  top: calc(50% + 215px);
  left: calc(50% + 375px);
  transform: translate(-50%, -50%);
}
.pos-4 {
  top: calc(50% + 430px);
  left: 50%;
  transform: translate(-50%, -50%);
}
.pos-5 {
  top: calc(50% + 215px);
  left: calc(50% - 375px);
  transform: translate(-50%, -50%);
}
.pos-6 {
  top: calc(50% - 205px);
  left: calc(50% - 375px);
  transform: translate(-50%, -50%);
}

/* =========================================
     5. TÍNH NĂNG NỔI BẬT (5 CỘT)
     ========================================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #1a2e3b;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.course-card {
  background: #fff;
  padding: 25px 15px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 176, 155, 0.15);
  border-color: var(--brand-green);
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: 0.3s;
}
.course-card:hover::before {
  opacity: 1;
}
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 15px;
}
.bg-math {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
}
.bg-sci {
  background: linear-gradient(135deg, #1865f2, #00d2ff);
}
.bg-adv {
  background: linear-gradient(135deg, #ff5722, #e64a19);
}
.bg-geo {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}
.bg-forum {
  background: linear-gradient(135deg, #9c27b0, #e040fb);
}
.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #333;
}
.card-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* =========================================
     6. STYLE MỚI CHO TÍNH NĂNG (MODAL, DASHBOARD, APP HUB)
     ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: 0.3s;
  max-width: 95%;
  max-height: 95%;
  display: flex;
  flex-direction: column;
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.modal-header {
  padding: 15px 20px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
}
.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Dashboard Styles (Idea 6) */
#dashboard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f4f7f6;
  z-index: 2000;
  display: none;
  overflow-y: auto;
  padding-top: 80px;
}
#dashboard-overlay.active {
  display: block;
}
.dash-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 50px;
}
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.widget-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sync-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  background: #e8f5e9;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #c8e6c9;
}
.sync-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

/* App Hub Styles (Idea 1) */
.app-hub-layout {
  display: flex;
  height: 500px;
  width: 800px;
}
.hub-sidebar {
  width: 200px;
  background: #f9f9f9;
  padding: 20px;
  border-right: 1px solid #eee;
}
.hub-cat {
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 5px;
  color: #555;
}
.hub-cat:hover,
.hub-cat.active {
  background: #e0f2f1;
  color: var(--brand-green);
  font-weight: bold;
}
.hub-main {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}
.hub-app-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: 0.2s;
}
.hub-app-item:hover {
  border-color: var(--brand-green);
  background: #f0fdfa;
}
.hub-app-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
}
.hub-app-info {
  flex: 1;
}
.hub-app-info h4 {
  margin: 0 0 5px;
  color: #333;
}
.hub-app-info p {
  margin: 0;
  font-size: 12px;
  color: #777;
}
.hub-btn {
  background: var(--brand-green);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
}
.hub-btn:hover {
  background: #008f7a;
}

/* SSO Styles (Idea 3) */
.sso-container {
  padding: 40px;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}
.sso-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.sso-btn:hover {
  background: #f5f5f5;
}
.sso-btn.google {
  color: #db4437;
  border-color: #db4437;
}
.sso-btn.microsoft {
  color: #00a4ef;
  border-color: #00a4ef;
}

/* Iframe Embed (Idea 2) */
.iframe-container {
  width: 90vw;
  height: 85vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.app-iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}
.iframe-controls {
  padding: 10px;
  background: #eee;
  text-align: right;
  border-bottom: 1px solid #ddd;
}

/* =========================================
     7. FOOTER & CHATBOT (STYLE CŨ)
     ========================================= */
.main-footer {
  background: #fff;
  padding: 60px 20px 20px;
  margin-top: auto;
  border-top: 1px solid #eee;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}
.footer-about p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-light);
  transition: 0.3s;
  display: flex;
  align-items: center;
}
.footer-links a i {
  margin-right: 8px;
  font-size: 12px;
  color: var(--brand-green);
}
.footer-links a:hover {
  color: var(--brand-green);
  transform: translateX(5px);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  color: var(--text-light);
}
.footer-contact li i {
  margin-right: 12px;
  color: var(--brand-green);
  margin-top: 5px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 14px;
}
.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: #f0f4f8;
  color: var(--text-light);
  border-radius: 50%;
  margin-left: 10px;
  transition: 0.3s;
}
.social-links a:hover {
  background: var(--primary-gradient);
  color: #fff;
  transform: translateY(-3px);
}

/* CHATBOT */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}
#chat-toggle-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-green);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 176, 155, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
#chat-toggle-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#chat-toggle-btn:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 360px;
  height: 480px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.3s;
  transform-origin: bottom right;
}
.chat-window.hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.chat-header {
  background: var(--primary-gradient);
  padding: 15px 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bot-message {
  background: #fff;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 10px;
  border-radius: 15px;
  max-width: 80%;
}
.user-message {
  background: var(--primary-gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 176, 155, 0.2);
  padding: 10px;
  border-radius: 15px;
  max-width: 80%;
}
.chat-footer {
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  background: #fff;
  align-items: center;
}
.chat-footer input {
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  border: 1px solid #ddd;
  outline: none;
  background: #f5f5f5;
}
.chat-footer button {
  border: none;
  background: none;
  color: var(--brand-green);
  font-size: 22px;
  cursor: pointer;
}
.ai-suggestion {
  margin-top: 5px;
  font-size: 12px;
  color: #555;
  background: #e0f2f1;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  display: inline-block;
  border: 1px solid #b9f6ca;
}

/* Responsive Mobile */
@media (max-width: 1200px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hex-wrapper-box {
    margin-top: 0;
    height: auto;
    padding: 50px 0;
    background: none;
    margin-bottom: 50px;
  }
  .center-hex,
  .hex-base {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 360px;
    height: 310px;
    margin-bottom: 20px;
  }
  .circle-ecosystem {
    flex-direction: column;
    display: flex;
    align-items: center;
  }
  .center-hex {
    order: -1;
  }
  .center-ripple {
    display: none;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .app-hub-layout {
    flex-direction: column;
    height: auto;
  }
  .hub-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}
@media (max-width: 600px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 40px 20px;
  }
  .home-header {
    padding: 15px 20px;
  }
}
