@font-face {
  font-family: "poppins";
  src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Signika";
  src: url("../fonts/signika/static/SignikaNegative-Regular.ttf")
    format("truetype");
}
@font-face {
  font-family: "blackops";
  src: url("../fonts/blackops/BlackOpsOne-Regular.ttf") format("truetype");
}

body {
  font-family: "poppins";
  --sidebar-width: 250px;
}
main > .container {
  padding: 70px 15px 20px;
  font-family: "Signika";
}

/* ========================================
   ELEGANT NAVIGATION
   ======================================== */
.elegant-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.elegant-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-brand-text {
  font-family: "blackops", monospace;
  font-size: 1.1rem;
  color: var(--color-accent);
  display: none;
}

@media (min-width: 1200px) {
  .nav-brand-text {
    display: block;
  }
}

/* Desktop Menu */
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.85rem;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(63, 25, 135, 0.08);
  color: var(--color-accent);
}

.nav-link.active {
  font-weight: 600;
}

.nav-link:hover i,
.nav-link.active i {
  opacity: 1;
}

/* Auth Buttons */
.nav-auth {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .nav-auth {
    display: flex;
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.nav-btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

.nav-btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(63, 25, 135, 0.25);
}

.nav-btn-primary:hover {
  background: #2d1166;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 25, 135, 0.35);
  color: white;
}

.nav-btn-danger {
  background: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
}

.nav-btn-danger:hover {
  background: #dc3545;
  color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle:hover {
  background: rgba(63, 25, 135, 0.08);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Slide Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-warm-cream);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mobile-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.mobile-brand span {
  font-family: "blackops", monospace;
  font-size: 1rem;
  color: var(--color-accent);
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 25, 135, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--color-accent);
  color: white;
}

/* Mobile Nav List */
.mobile-nav-list {
  list-style: none;
  padding: 0.75rem 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-nav-link i {
  width: 24px;
  text-align: center;
  color: var(--color-accent);
  opacity: 0.7;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(63, 25, 135, 0.06);
  border-left-color: var(--color-accent);
  color: var(--color-accent);
}

.mobile-nav-link:hover i,
.mobile-nav-link:active i {
  opacity: 1;
}

/* Mobile Auth Section */
.mobile-auth-section {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-warm-cream);
}

.mobile-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.mobile-btn-outline {
  background: white;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.mobile-btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

.mobile-btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(63, 25, 135, 0.25);
}

.mobile-btn-primary:hover {
  background: #2d1166;
  color: white;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 1rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.5);
}

/* ========================================
   APP LAYOUT (Dashboard Style)
   ======================================== */
.app-layout {
  --sidebar-width: 260px;
  --header-height: 60px;
}

/* App Sidebar */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, var(--color-accent) 0%, #2d1166 100%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.sidebar-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.sidebar-brand-text {
  font-family: "blackops", monospace;
  font-size: 0.9rem;
  color: white;
}

.sidebar-close-btn {
  display: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Sidebar User */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
}

.sidebar-user-name {
  font-weight: 600;
  color: white;
  font-size: 0.85rem;
  line-height: 1.2;
}

.sidebar-user-role {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0.5rem;
}

/* Custom Scrollbar for Sidebar */
.sidebar-nav::-webkit-scrollbar {
  width: 5px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Firefox scrollbar */
.sidebar-nav {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 2px;
  transition: all 0.25s ease;
  position: relative;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-nav-item.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.sidebar-nav-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.sidebar-nav-item:hover .sidebar-nav-icon,
.sidebar-nav-item.active .sidebar-nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.sidebar-nav-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 50%;
  background: white;
  border-radius: 2px;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff8a8a;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.25s ease;
}

.sidebar-logout-btn:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: white;
}

.sidebar-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.25s ease;
  margin-bottom: 0.35rem;
}

.sidebar-login-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-login-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.sidebar-register-btn {
  background: white;
  color: var(--color-accent);
}

.sidebar-register-btn:hover {
  background: var(--color-warm-cream);
  color: var(--color-accent);
}

/* Sidebar Overlay (Mobile) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.3s ease;
}

/* App Main Content */
.app-main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidebar-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-warm-cream);
  border: none;
  border-radius: 10px;
  color: var(--color-accent);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover {
  background: var(--color-accent);
  color: white;
}

.header-breadcrumb {
  display: none;
}

.header-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  font-size: 0.85rem;
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-user-name {
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  display: none;
}

.header-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
}

.header-login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.header-login-btn:hover {
  background: #2d1166;
  color: white;
}

/* ========================================
   HEADER USER DROPDOWN
   ======================================== */
.header-user-dropdown {
  position: relative;
}

.header-user-trigger,
.header-guest-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-user-trigger:hover,
.header-guest-trigger:hover,
.header-user-dropdown.open .header-user-trigger,
.header-user-dropdown.open .header-guest-trigger {
  background: var(--color-warm-cream);
  border-color: rgba(63, 25, 135, 0.1);
}

.header-user-trigger .header-user-name {
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  display: none;
}

@media (min-width: 768px) {
  .header-user-trigger .header-user-name {
    display: block;
  }
}

.header-user-trigger .header-user-avatar,
.header-guest-trigger .header-guest-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.header-guest-trigger .header-guest-avatar {
  background: linear-gradient(135deg, var(--color-accent) 0%, #6b3fa0 100%);
}

.header-dropdown-arrow {
  font-size: 0.7rem;
  color: var(--color-text-dark);
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.header-user-dropdown.open .header-dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.header-user-dropdown.open .header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dropdown Menu Header */
.dropdown-menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #5a2d9e 100%);
}

.dropdown-guest-header {
  justify-content: center;
  padding: 1.25rem;
}

.dropdown-guest-header i {
  font-size: 1.25rem;
  color: white;
}

.dropdown-guest-header span {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.dropdown-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
}

.dropdown-user-name {
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
  line-height: 1.2;
}

.dropdown-user-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dropdown Menu Divider */
.dropdown-menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0;
}

/* Dropdown Menu Items */
.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-menu-item i {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-accent);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.dropdown-menu-item:hover {
  background: var(--color-warm-cream);
  color: var(--color-accent);
}

.dropdown-menu-item:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* Logout Item */
.dropdown-logout {
  color: #dc3545;
}

.dropdown-logout i {
  color: #dc3545;
}

.dropdown-logout:hover {
  background: rgba(220, 53, 69, 0.08);
  color: #dc3545;
}

/* Register Item */
.dropdown-register {
  background: linear-gradient(135deg, rgba(63, 25, 135, 0.05) 0%, rgba(107, 63, 160, 0.05) 100%);
}

.dropdown-register:hover {
  background: linear-gradient(135deg, rgba(63, 25, 135, 0.12) 0%, rgba(107, 63, 160, 0.12) 100%);
}

/* App Content */
.app-content {
  flex: 1;
  padding: 0.5rem;
  background: #f8f9fa;
}

.content-wrapper {
  background: white;
  border-radius: 15px;
  padding: 1.0rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  min-height: calc(100vh - var(--header-height) - 120px);
}

/* App Footer */
.app-footer {
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: white;
}

.app-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
}

/* Hidden Sidebar State - Default (completely hidden) */
.sidebar-hidden .app-sidebar {
  transform: translateX(-100%);
}

.sidebar-hidden .sidebar-overlay {
  opacity: 0;
  visibility: hidden;
}

.sidebar-hidden .app-main {
  margin-left: 0;
}

/* Open Sidebar State */
.sidebar-open .app-sidebar {
  transform: translateX(0);
}

.sidebar-open .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

/* Close button always visible in sidebar */
.sidebar-close-btn {
  display: flex;
}

/* App Main - always full width when sidebar hidden */
.app-main {
  margin-left: 0;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When sidebar is open, shift content on larger screens */
@media (min-width: 992px) {
  .sidebar-open .app-main {
    margin-left: var(--sidebar-width);
  }
}

/* App Layout Mobile Responsive */
@media (max-width: 991px) {
  .app-main {
    margin-left: 0 !important;
  }

  .header-breadcrumb {
    display: none;
  }
}

@media (min-width: 768px) {
  .header-breadcrumb {
    display: block;
  }

  .header-user-name {
    display: block;
  }
}

.not-set,
.help-block {
  color: #0da1f0;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

.text-theme {
  color: #510ad5 !important;
}
.text-signika {
  font-family: "Signika", Courier, monospace;
}
.sub-title-1 {
  font-size: 18px;
}
.border-theme {
  border-color: #510ad5 !important;
}
.header {
  height: 60px;
}

.form-group {
  margin-bottom: 1rem;
}
.home-vh-100 {
  min-height: 500px;
  height: 100vh;
}
.home-overlay-bg {
  background-color: #0426483f;
}
.home-bg {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.home-title-1 {
  font-size: 50px;
  font-family: "blackops", monospace;
  text-align: center;
  color: white;
}
.home-title-2 {
  font-family: "poppins", monospace;
  text-align: center;
  font-size: 20px;
  color: white;
}
.carousel-item.active {
  height: 100%;
}
.carousel-caption {
  bottom: 35% !important;
}
.course-card-img {
  height: 200px;
}
.course-card-img img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}
.breadcrumb-item a {
  color: white;
  background-color: #ffc107;
  padding-left: 3px;
  padding-right: 3px;
  text-decoration: none;
  border-radius: 5px;
}

.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #3f1987;
  --bs-btn-border-color: #3f1987;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #510ad5;
  --bs-btn-hover-border-color: #1f0259;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1b0546;
  --bs-btn-active-border-color: #1f0258;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3f1987;
  --bs-btn-disabled-border-color: #3f1987;
}
thead th a {
  color: #3f1987;
  text-decoration: none;
}
.menu-hidden .left-bar {
  display: none;
}
.menu-hidden {
  --sidebar-width: 0;
}
.left-bar {
  height: 100%;
  width: var(--sidebar-width);
  z-index: 1040;
  background-color: #3f1987;
}
.content-container {
  margin-left: var(--sidebar-width);
  margin-right: 0;
  width: 100%;
  max-width: calc(95vw - var(--sidebar-width));
}

.menu {
  padding-bottom: 5px;
  overflow-y: auto;
  width: 100%;
}
.menu-container {
  min-height: 300px;
  overflow-y: auto;
}
.menu-brand {
  border-radius: 5px;
  display: block;
  text-decoration: none;
  padding: 10px 5px;
  margin-bottom: 8px;
  color: #3f1987;
  font-weight: bold;
}
.menu-brand .logo {
  height: 40px;
  width: 40px;
  border-radius: 10px;
}
.menu-brand .brand-name {
  padding-left: 10px;
}
.menu-item {
  border-radius: 5px;
  display: block;
  text-decoration: none;
  padding: 8px 5px;
  margin-bottom: 8px;
  color: #ffdd00;
}
.menu-item.active {
  background-color: #ffdd00;
  color: #3f1987;
  display: flex;
}
.menu-item.active .menu-text {
  border-right: 5px solid #3f1987;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  width: 100%;
}
.menu-item:hover,
.menu-item:focus {
  color: #ffdd00 !important;
  background-color: #ffdd004d;
}

.menu-icon i {
  width: 50px;
  text-align: center;
  display: inline-block;
}
.logout-btn {
  font-weight: bold;
}
.logged-user p {
  background-color: #1b0546;
  border-radius: 5px;
}
#page-footer {
  margin-left: var(--sidebar-width);
  font-size: 0.9em;
  height: 60px;
}

#page-footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}
.content-card {
  height: 60px;
}
.text-theme {
  color: #3f1987;
}

@media (max-width: 767px) {
  .content-container {
    margin-left: 0 !important;
    margin-right: 0;
    width: 100%;
    max-width: 100% !important;
  }
  .carousel-caption {
    bottom: 25% !important;
    left: 5%;
    right: 5%;
  }
  .home-title-1 {
    font-size: 40px;
  }
  .home-vh-100 {
    min-height: 400px;
    height: 80vh;
  }
  #page-footer {
    margin-left: 0;
  }
}
.opt-text p,
.q-option-text p {
  margin: 0;
  padding: 0;
}
.ans-file {
  display: none;
}
.has-upload .ans-file {
  display: block;
}
.has-upload .ans-no-file {
  display: none;
}
.ans-mark-tag {
  top: -8px;
  left: -10px;
  z-index: 1;
}

.tick {
  font-size: 1.5rem;
  white-space: nowrap;
  font-family: arial, sans-serif;
  height: 50px;
  width: 200px;
  position: fixed !important;
  top: 2%;
  z-index: 1500 !important;
  right: 50%;
}

.tick-flip,
.tick-text-inline {
  font-size: 30px;
}

.tick-char {
  width: 1.5em;
}

.tick-text-inline {
  display: inline-block;
  text-align: center;
  min-width: 1em;
}

.tick-text-inline + .tick-text-inline {
  margin-left: 5px;
}

.tick-group {
  margin: 0 5px;
  text-align: center;
}

.tick-flip-panel {
  color: #ffc107 !important;
}
.tick-flip-panel-text-wrapper {
  line-height: 1.4 !important;
}

.tick-flip {
  border-radius: 0.12em !important;
}
.book-card {
  border: 2px solid rgba(0, 0, 0, 0);
}
.book-card:hover {
  border: 2px solid #3f1987;
  border-left-width: 0;
  border-top-width: 0;
}
.book-cover img {
  width: 100px;
  height: 120px;
  object-fit: cover;
}
.title-tag {
  top: -10px;
  left: 0px;
  z-index: 1;
}

/* ========================================
   WARM COLOR PALETTE VARIABLES
   ======================================== */
:root {
  --color-warm-cream: #FDF8F3;
  --color-peach: #FFCDB2;
  --color-peach-alpha: rgba(255, 205, 178, 0.25);
  --color-peach-light: rgba(255, 205, 178, 0.12);
  --color-sage: #B5E48C;
  --color-sage-alpha: rgba(181, 228, 140, 0.25);
  --color-sage-light: rgba(181, 228, 140, 0.12);
  --color-lavender: #CDB4DB;
  --color-lavender-alpha: rgba(205, 180, 219, 0.25);
  --color-lavender-light: rgba(205, 180, 219, 0.12);
  --color-dusty-rose: #E5989B;
  --color-dusty-rose-alpha: rgba(229, 152, 155, 0.25);
  --color-dusty-rose-light: rgba(229, 152, 155, 0.12);
  --color-text-dark: #2D3436;
  --color-accent: #3f1987;
}

/* ========================================
   FLOATING CARDS HERO
   ======================================== */
.hero-floating {
  position: relative;
  min-height: 75vh;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(63, 25, 135, 0.85) 0%,
    rgba(45, 52, 54, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 0;
}

/* Headline */
.hero-headline {
  margin-bottom: 2.5rem;
}

.hero-main-title {
  font-family: "blackops", monospace;
  font-size: 3rem;
  color: white;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-main-subtitle {
  font-family: "Signika", sans-serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Floating Cards Grid */
.floating-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Glassmorphism Card */
.floating-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.floating-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.floating-card:hover::before {
  opacity: 1;
}

/* Card Color Variants */
.card-peach::before {
  background: rgba(255, 205, 178, 0.25);
}
.card-peach .floating-card-icon {
  background: rgba(255, 205, 178, 0.3);
  color: #FFCDB2;
}

.card-sage::before {
  background: rgba(181, 228, 140, 0.25);
}
.card-sage .floating-card-icon {
  background: rgba(181, 228, 140, 0.3);
  color: #B5E48C;
}

.card-lavender::before {
  background: rgba(205, 180, 219, 0.25);
}
.card-lavender .floating-card-icon {
  background: rgba(205, 180, 219, 0.3);
  color: #CDB4DB;
}

.card-rose::before {
  background: rgba(229, 152, 155, 0.25);
}
.card-rose .floating-card-icon {
  background: rgba(229, 152, 155, 0.3);
  color: #E5989B;
}

.floating-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.floating-card:hover .floating-card-icon {
  transform: scale(1.1);
}

.floating-card-title {
  font-family: "poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.floating-card-desc {
  font-family: "Signika", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.floating-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.floating-card:hover .floating-card-arrow {
  background: rgba(255, 255, 255, 0.4);
  transform: translateX(5px);
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: white;
  color: var(--color-accent);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background: var(--color-warm-cream);
  color: var(--color-accent);
}

.btn-hero-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* Scroll Indicator - Hidden on large screens, visible on mobile */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  display: none;
}

.scroll-indicator span {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   SERVICE SECTIONS (Scroll Journey)
   ======================================== */
.service-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

/* Service Section Colors */
.section-home-school {
  background: var(--color-peach-light);
}
.section-home-school::before {
  background: var(--color-peach);
  top: -100px;
  right: -100px;
}
.section-home-school .service-icon-wrap {
  background: var(--color-peach-alpha);
  color: #E07A5F;
}
.section-home-school .service-btn-primary {
  background: #E07A5F;
  border-color: #E07A5F;
}
.section-home-school .service-btn-primary:hover {
  background: #d4694f;
}
.section-home-school .feature-check {
  color: #E07A5F;
}

.section-online-school {
  background: var(--color-sage-light);
}
.section-online-school::before {
  background: var(--color-sage);
  bottom: -100px;
  left: -100px;
}
.section-online-school .service-icon-wrap {
  background: var(--color-sage-alpha);
  color: #588157;
}
.section-online-school .service-btn-primary {
  background: #588157;
  border-color: #588157;
}
.section-online-school .service-btn-primary:hover {
  background: #4a6f4a;
}
.section-online-school .feature-check {
  color: #588157;
}

.section-online-tuition {
  background: var(--color-lavender-light);
}
.section-online-tuition::before {
  background: var(--color-lavender);
  top: -100px;
  right: -100px;
}
.section-online-tuition .service-icon-wrap {
  background: var(--color-lavender-alpha);
  color: #7B2CBF;
}
.section-online-tuition .service-btn-primary {
  background: #7B2CBF;
  border-color: #7B2CBF;
}
.section-online-tuition .service-btn-primary:hover {
  background: #6a24a6;
}
.section-online-tuition .feature-check {
  color: #7B2CBF;
}

.section-home-tuition {
  background: var(--color-dusty-rose-light);
}
.section-home-tuition::before {
  background: var(--color-dusty-rose);
  bottom: -100px;
  left: -100px;
}
.section-home-tuition .service-icon-wrap {
  background: var(--color-dusty-rose-alpha);
  color: #C9184A;
}
.section-home-tuition .service-btn-primary {
  background: #C9184A;
  border-color: #C9184A;
}
.section-home-tuition .service-btn-primary:hover {
  background: #b0153f;
}
.section-home-tuition .feature-check {
  color: #C9184A;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: "blackops", monospace;
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.service-tagline {
  font-family: "Signika", sans-serif;
  font-size: 1.3rem;
  color: var(--color-text-dark);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  color: var(--color-text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-check {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.service-btn-primary {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.service-btn-secondary {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  border: 2px solid var(--color-text-dark);
  color: var(--color-text-dark);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.service-btn-secondary:hover {
  background: var(--color-text-dark);
  color: white;
}

.service-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-illustration i {
  font-size: 15rem;
  opacity: 0.15;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--color-accent);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: "blackops", monospace;
  font-size: 3rem;
  color: white;
  display: block;
}

.stat-label {
  font-family: "Signika", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   REFINED EXISTING SECTIONS
   ======================================== */
.warm-section {
  background: var(--color-warm-cream);
}

.section-header {
  background: white;
  border-radius: 15px;
  padding: 1.5rem 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.section-header h3 {
  font-family: "blackops", monospace;
  color: var(--color-accent);
  margin: 0;
}

.section-header p {
  font-family: "Signika", sans-serif;
  color: var(--color-text-dark);
  opacity: 0.7;
  margin: 0.5rem 0 0;
}

/* ========================================
   SUBJECT CARDS - Overlay Gradient Style
   ======================================== */
.subject-card-overlay {
  display: block;
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subject-card-overlay:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.subject-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.subject-card-overlay:hover .subject-card-image {
  transform: scale(1.1);
}

.subject-card-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  z-index: 1;
}

.subject-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.subject-card-price {
  display: inline-block;
  background: rgba(255, 193, 7, 0.9);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(5px);
}

.subject-card-title {
  font-family: "poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subject-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.subject-card-overlay:hover .subject-card-cta {
  opacity: 1;
  transform: translateY(0);
  color: white;
}

.subject-card-cta i {
  transition: transform 0.3s ease;
}

.subject-card-overlay:hover .subject-card-cta i {
  transform: translateX(5px);
}

/* Category Container Refined */
.category-container-refined {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--color-accent);
}

.category-container-refined h4 {
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

/* Papers Section Refined */
.papers-section-refined {
  background: rgba(205, 180, 219, 0.08);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

/* Library Section Refined */
.library-section {
  background: var(--color-warm-cream);
  padding: 3rem 0;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Entrance animations for service sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-content {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for refined cards */
.papers-section-refined a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Button hover enhancements */
.service-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-btn-secondary:hover {
  transform: translateY(-2px);
}

/* Tablet Responsive */
@media (max-width: 991px) {
  /* Floating Cards Hero - Tablet */
  .hero-floating {
    min-height: 70vh;
  }

  .hero-main-title {
    font-size: 2.5rem;
  }

  .floating-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .floating-card {
    padding: 1.5rem 1rem;
  }

  .floating-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .floating-card-title {
    font-size: 1rem;
  }

  .floating-card-desc {
    font-size: 0.85rem;
  }

  /* Subject Cards - Tablet */
  .subject-card-overlay {
    height: 200px;
  }

  .subject-card-title {
    font-size: 1rem;
  }

  .service-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .service-title {
    font-size: 1.8rem;
  }

  .service-illustration {
    display: none;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Mobile Responsive */
@media (max-width: 576px) {
  /* Floating Cards Hero - Mobile */
  .hero-floating {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  .hero-headline {
    margin-bottom: 1.5rem;
  }

  .hero-main-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-main-subtitle {
    font-size: 1rem;
  }

  .floating-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .floating-card {
    padding: 1rem 0.75rem;
    border-radius: 15px;
  }

  .floating-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .floating-card-title {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .floating-card-desc {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .floating-card-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    display: block;
    bottom: 1rem;
  }

  .scroll-indicator span {
    font-size: 0.7rem;
  }

  /* Subject Cards - Mobile */
  .subject-card-overlay {
    height: 160px;
    border-radius: 12px;
  }

  .subject-card-content {
    padding: 1rem;
  }

  .subject-card-price {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .subject-card-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .subject-card-cta {
    font-size: 0.75rem;
    opacity: 1;
    transform: translateY(0);
  }

  .category-container-refined {
    padding: 1.25rem;
    border-radius: 15px;
  }

  .category-container-refined h4 {
    font-size: 0.95rem;
  }

  /* Service sections mobile */
  .service-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 15px;
  }

  .service-title {
    font-size: 1.4rem;
  }

  .service-tagline {
    font-size: 1rem;
  }

  .service-features li {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }

  .service-btn-primary,
  .service-btn-secondary {
    display: block;
    text-align: center;
    margin: 0.5rem 0;
    padding: 0.7rem 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* Extra small screens (under 380px) */
@media (max-width: 380px) {
  .hero-main-title {
    font-size: 1.5rem;
  }

  .hero-main-subtitle {
    font-size: 0.9rem;
  }

  .floating-card {
    padding: 0.75rem 0.5rem;
  }

  .floating-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .floating-card-title {
    font-size: 0.75rem;
  }

  .floating-card-desc {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }

  .floating-card-arrow {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
}
