/* ==========================================================================
   WebWorldBD - Custom Design System & CSS Stylesheet
   Author: SHAFAET HOSSEN SARIP (WebWorldBD)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bangla: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;

  /* Color Palette - Dark Theme (Default) */
  --bg-dark: #080C14;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(56, 189, 248, 0.4);

  /* Standardized Text Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Accent Palette */
  --accent-blue: #38BDF8;      /* Electric Blue */
  --accent-violet: #818CF8;    /* Indigo / Violet */
  --accent-purple: #C084FC;    /* Radiant Purple */
  --accent-cyan: #22D3EE;      /* Cyan */
  --accent-emerald: #10B981;   /* Emerald Green */
  --accent-orange: #F97316;    /* Amber Orange */

  /* Unified Gradient Definition Across Entire Site */
  --gradient-primary: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  --gradient-text: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  --gradient-hero-badge: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.12) 100%);

  /* Shadows & Glows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 15px 35px -10px rgba(56, 189, 248, 0.25);
  --glow-blue: 0 0 25px rgba(56, 189, 248, 0.35);

  /* Layout Standards */
  --header-height: 80px;
  --container-width: 1280px;
  --section-padding-desktop: 5.5rem;
  --section-padding-mobile: 3.5rem;
  --card-padding-desktop: 2rem;
  --card-padding-mobile: 1.25rem;

  /* Radius Standards */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(15, 23, 42, 0.04);
  --border-glass: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(14, 165, 233, 0.4);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  --gradient-hero-badge: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 15px 35px -10px rgba(14, 165, 233, 0.2);
  --glow-blue: 0 0 20px rgba(14, 165, 233, 0.2);
}

/* --------------------------------------------------------------------------
   2. Base Reset & Typography Scale
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.dash-wrapper, .dash-main, .dash-content {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  min-height: 100vh;
}

body.lang-bn {
  font-family: var(--font-bangla);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

body.lang-bn p,
body.lang-bn .hero-subtitle,
body.lang-bn .service-card p,
body.lang-bn .ethical-policy-box p {
  font-size: 1.02rem;
  line-height: 1.75;
}

body.lang-bn h1, body.lang-bn .h1,
body.lang-bn h2, body.lang-bn .h2,
body.lang-bn h3, body.lang-bn .h3,
body.lang-bn h4, body.lang-bn .h4 {
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Typography Hierarchy Scale */
h1, .h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

h4, .h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* --------------------------------------------------------------------------
   3. Glassmorphism & Visual UI Components
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--card-padding-desktop);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Unified Text Gradient */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--gradient-hero-badge);
  border: 1px solid var(--border-glow);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.badge-pill i {
  font-size: 0.9rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title .badge-pill {
  margin-bottom: 1rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-danger {
  background: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #DC2626;
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}

.btn-danger-outline {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #DC2626;
  font-weight: 600;
}

[data-theme="dark"] .btn-danger-outline {
  color: #F87171;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-danger-outline:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Canvas Particle Background */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   4. Navbar Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 11000;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  padding: 4px 0;
  flex-shrink: 0;
}

.logo-brand img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.nav-menu,
.nav-menu-links,
.nav-links {
  display: none;
}

.nav-menu-header,
.nav-menu-cta {
  display: none;
}

@media (max-width: 1023px) {
  .header-actions .btn {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-menu,
  .nav-menu-links,
  .nav-links {
    display: flex;
  }

  .nav-menu {
    align-items: center;
    gap: 1rem;
    margin-left: 1.5rem;
    margin-right: auto;
  }

  .nav-menu-links,
  .nav-links {
    align-items: center;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   16. Client & Admin Dashboard Layout & Components
   -------------------------------------------------------------------------- */
.dash-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.dash-sidebar {
  width: 260px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transition: transform var(--transition-normal);
}

.dash-sidebar-header {
  height: var(--header-height);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.dash-sidebar-header .logo-brand {
  font-size: 1.1rem;
}

.dash-sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.dash-nav {
  padding: 1.25rem 0.85rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}

.dash-nav-group-title {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.75rem 0.25rem;
  margin-top: 0.5rem;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.dash-nav-item i {
  width: 22px;
  text-align: center;
  font-size: 1rem;
  color: var(--accent-blue);
  transition: color var(--transition-fast);
}

.dash-nav-item:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  transform: translateX(3px);
}

.dash-nav-item.active {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-blue);
  font-weight: 700;
  border-left: 3px solid var(--accent-blue);
}

.dash-nav-badge {
  margin-left: auto;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #ffffff;
}

.dash-sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.dash-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue);
  flex-shrink: 0;
}

.dash-sidebar-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-sidebar-user-name {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-sidebar-user-role {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 600;
}

/* Main Content Area */
.dash-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: margin-left var(--transition-normal);
}

/* Topbar Header */
.dash-topbar {
  height: var(--header-height);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-hamburger-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.dash-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dash-topbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dash-topbar-user:hover {
  border-color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.1);
}

.dash-topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-blue);
}

.dash-topbar-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Dashboard Content Area */
.dash-content {
  padding: 2rem 1.75rem;
  flex: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* Welcome Section */
.dash-welcome-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.08) 50%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}

.dash-welcome-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.dash-welcome-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Summary Stat Cards Grid */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.dash-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
}

.dash-stat-info h4 {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.dash-stat-info .stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.dash-stat-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.dash-stat-icon-box.icon-blue {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.dash-stat-icon-box.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dash-stat-icon-box.icon-purple {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.dash-stat-icon-box.icon-orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Quick Action Buttons Row */
.dash-actions-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.dash-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dash-card-title i {
  color: var(--accent-blue);
}

.dash-quick-btns {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  width: 100%;
}

.dash-quick-btns .btn {
  flex: 1;
  min-width: 200px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0 1.25rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Tables Section */
.dash-table-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  overflow: hidden;
}

.dash-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.dash-table th {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-glass);
}

.dash-table td {
  padding: 1.1rem 1.1rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-main);
  vertical-align: middle;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table tr:hover td {
  background: rgba(56, 189, 248, 0.04);
}

.dash-table-project-name {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.dash-table-project-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-in-progress, .status-active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-review {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

/* Progress Bar */
.dash-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 140px;
}

.dash-progress-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-glass);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.dash-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.dash-progress-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 38px;
}

/* Sidebar Overlay Backdrop for Mobile Drawer */
.dash-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dash-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Account Dashboard Specific Custom Styles */
.profile-card-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass);
}

.profile-card-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
}

.profile-avatar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar-wrapper .user-avatar-inner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 2.25rem;
  border: 3px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.profile-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-status-badge {
  position: absolute;
  bottom: 4px;
  right: 2px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: var(--accent-emerald);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-status-badge i {
  font-size: 0.5rem;
}

.profile-details-info {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
}

.user-display-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  color: var(--text-main);
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.1rem;
}

.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.profile-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.profile-info-row span,
.profile-info-row a {
  margin: 0;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}

.profile-info-row span {
  overflow-wrap: break-word;
  word-break: break-all;
  text-align: center;
  min-width: 0;
}

.profile-info-row .user-display-email {
  margin-bottom: 0;
  color: var(--text-muted);
}

.profile-info-row a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.profile-info-row a:hover {
  text-decoration: underline;
  color: var(--accent-blue-hover, #0284c7);
}

.profile-info-icon {
  width: 16px;
  text-align: center;
  color: var(--accent-blue);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-details-info p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.profile-actions-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 50px;
}

.profile-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
  width: 100%;
  max-width: 380px;
  flex-wrap: wrap;
}

.profile-card-actions .btn {
  flex: 1;
  min-width: 130px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-sizing: border-box;
}

.dash-topbar-back-btn {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-date-badge {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dash-date-badge i {
  color: var(--accent-blue);
}

.stat-subtext {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-top: 0.35rem;
}

.text-emerald { color: var(--accent-emerald) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-orange { color: var(--accent-orange) !important; }

/* Dashboard Media Queries */
@media (max-width: 1023px) {
  .dash-sidebar {
    transform: translateX(-100%);
    z-index: 11000;
  }

  .dash-sidebar.active {
    transform: translateX(0);
  }

  .dash-sidebar-close {
    display: flex;
  }

  .dash-main {
    margin-left: 0;
  }

  .dash-hamburger-btn {
    display: flex;
  }

  .dash-topbar-back-btn span {
    display: none;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .about-section > .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dash-topbar {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }

  .dash-topbar-left {
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
  }

  .dash-page-title {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dash-topbar-right {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .dash-topbar-name {
    display: none;
  }

  .dash-topbar-back-btn {
    display: none;
  }

  .dash-topbar-user {
    padding: 2px;
    border: none;
    background: transparent;
  }

  .dash-content {
    padding: 1.25rem 0.85rem;
  }

  .dash-welcome-card {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dash-welcome-text h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .dash-welcome-text p {
    font-size: 0.9rem;
  }

  .dash-welcome-actions {
    width: 100%;
  }

  .dash-welcome-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Profile Card Responsive Styles */
  .profile-card-container {
    margin-bottom: 1.5rem;
  }

  .profile-card-body {
    padding: 1.5rem 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .profile-avatar-wrapper .user-avatar-inner {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .profile-details-info {
    min-width: 0;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
  }

  .user-display-name {
    font-size: 1.2rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .client-badge {
    font-size: 0.72rem;
    padding: 0.18rem 0.65rem;
  }

  .profile-info-row {
    font-size: clamp(0.75rem, 3.4vw, 0.85rem);
    justify-content: center;
  }

  .profile-info-row span {
    word-break: break-all;
    overflow-wrap: break-word;
  }

  .profile-card-actions {
    max-width: 100%;
    gap: 0.6rem;
  }

  .profile-card-actions .btn {
    width: 100%;
    flex: none;
  }

  .dash-stats-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .dash-quick-btns {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .dash-quick-btns .btn {
    width: 100%;
    flex: none;
  }

  .dash-actions-card,
  .dash-table-card {
    padding: 1.25rem 1rem;
  }
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link .nav-icon {
  display: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  border-radius: 2px;
  opacity: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

.toggle-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
  font-size: 1.15rem;
}

.toggle-btn:hover, .toggle-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.lang-switch-btn {
  height: 44px;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* --------------------------------------------------------------------------
   4b. Left-Side Sliding Navigation Drawer & Backdrop (Premium 3D Redesign)
   -------------------------------------------------------------------------- */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 15000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.nav-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(85vw, 300px);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.96) 0%, rgba(10, 15, 29, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 18px 0 55px rgba(0, 0, 0, 0.55), inset -1px 0 0 rgba(255, 255, 255, 0.06);
  z-index: 15001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 601px) {
  .nav-drawer-panel {
    width: 300px;
    max-width: 320px;
  }
}

.nav-drawer-panel.active {
  transform: translateX(0);
}

[data-theme="light"] .nav-drawer-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-right-color: rgba(203, 213, 225, 0.8);
  box-shadow: 18px 0 45px rgba(15, 23, 42, 0.15), inset -1px 0 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .nav-drawer-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

/* Header & 3D Circular Close Button */
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.1rem 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

[data-theme="light"] .nav-drawer-header {
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

.nav-drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

[data-theme="light"] .nav-drawer-close-btn {
  background: linear-gradient(145deg, #ffffff, #e2e8f0);
  border-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12), inset 0 1px 0 #ffffff;
  color: var(--text-main);
}

.nav-drawer-close-btn:hover {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.35));
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.05);
}

.nav-drawer-close-btn:active {
  transform: rotate(90deg) scale(0.95);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Drawer Body & Staggered Animations */
.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 0.85rem 0.85rem 2rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Custom Slim Scrollbar for Drawer Body */
.nav-drawer-body::-webkit-scrollbar {
  width: 5px;
}

.nav-drawer-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 10px;
}

.nav-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 10px;
}

.nav-drawer-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

.nav-drawer-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.35) transparent;
}

/* Staggered entry transition for items when drawer opens */
.nav-drawer-panel .three-dots-group > *,
.nav-drawer-panel .three-dots-user-header {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer-panel.active .three-dots-user-header {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.04s;
}

.nav-drawer-panel.active .three-dots-group > * {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(1) { transition-delay: 0.04s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(2) { transition-delay: 0.07s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(3) { transition-delay: 0.10s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(4) { transition-delay: 0.13s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(5) { transition-delay: 0.16s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(6) { transition-delay: 0.19s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(7) { transition-delay: 0.22s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(8) { transition-delay: 0.25s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(9) { transition-delay: 0.28s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(1) > *:nth-child(10) { transition-delay: 0.31s; }

.nav-drawer-panel.active .three-dots-group:nth-of-type(2) > *:nth-child(1) { transition-delay: 0.33s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(2) > *:nth-child(2) { transition-delay: 0.36s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(2) > *:nth-child(3) { transition-delay: 0.39s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(2) > *:nth-child(4) { transition-delay: 0.42s; }
.nav-drawer-panel.active .three-dots-group:nth-of-type(2) > *:nth-child(5) { transition-delay: 0.45s; }

.nav-drawer-panel.active .three-dots-group:nth-of-type(3) > *:nth-child(1) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .nav-drawer-panel .three-dots-group > *,
  .nav-drawer-panel .three-dots-user-header {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .nav-drawer-panel {
    transition: transform 0.1s linear !important;
  }
}

.three-dots-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.three-dots-menu-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 0.45rem 0;
}

[data-theme="light"] .three-dots-menu-divider {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08), transparent);
}

/* Profile Card at Top */
.three-dots-user-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  text-decoration: none;
}

[data-theme="light"] .three-dots-user-header {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.05));
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.three-dots-user-header:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.14));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.three-dots-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.three-dots-avatar-img,
.three-dots-avatar-initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.three-dots-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
}

.three-dots-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.three-dots-user-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.three-dots-user-email {
  font-size: 0.76rem;
  color: var(--accent-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* Rounded Cards for Menu Items */
.three-dots-menu-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.58rem 0.8rem;
  border-radius: 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .three-dots-menu-item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
}

.three-dots-menu-item:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(99, 102, 241, 0.1));
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--accent-blue);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .three-dots-menu-item:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.08));
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.15), inset 0 1px 0 #ffffff;
}

/* Tactile 3D press effect */
.three-dots-menu-item:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .three-dots-menu-item:active {
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.15);
}

/* Active Item Styling */
.three-dots-menu-item.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(99, 102, 241, 0.16));
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-blue);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .three-dots-menu-item.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(99, 102, 241, 0.12));
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2), inset 0 1px 0 #ffffff;
}

.three-dots-menu-item.active::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 18%;
  bottom: 18%;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-blue);
}

/* Icon Tiles (3D Squircle Tile) */
.three-dots-icon-box {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .three-dots-icon-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(99, 102, 241, 0.08));
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.three-dots-menu-icon {
  font-size: 0.95rem;
  color: var(--accent-blue);
  transition: color 0.2s ease, transform 0.2s ease;
}

.three-dots-menu-item:hover .three-dots-icon-box,
.three-dots-menu-item.active .three-dots-icon-box {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.three-dots-menu-item:hover .three-dots-menu-icon,
.three-dots-menu-item.active .three-dots-menu-icon {
  color: #ffffff;
  transform: scale(1.1);
}

.three-dots-external-icon {
  font-size: 0.725rem;
  margin-left: auto;
  opacity: 0.65;
  color: var(--text-muted);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.three-dots-menu-item:hover .three-dots-external-icon {
  opacity: 1;
  color: var(--accent-blue);
  transform: translate(2px, -2px);
}

/* State Badge Indicator for Theme and Language */
.three-dots-state-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent-blue);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

[data-theme="light"] .three-dots-state-badge {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.08));
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}

.three-dots-menu-item:hover .three-dots-state-badge {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(99, 102, 241, 0.28));
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 3px 8px rgba(56, 189, 248, 0.3);
}

/* Distinct Red-Tinted 3D Log Out Button Style */
.three-dots-logout-btn {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(220, 38, 38, 0.07));
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .three-dots-logout-btn {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.1), inset 0 1px 0 #ffffff;
}

.three-dots-logout-btn .three-dots-icon-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.15));
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.three-dots-logout-btn .three-dots-menu-icon {
  color: #f87171;
}

[data-theme="light"] .three-dots-logout-btn .three-dots-menu-icon {
  color: #dc2626;
}

.three-dots-logout-btn:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(220, 38, 38, 0.15));
  border-color: rgba(239, 68, 68, 0.45);
  color: #ef4444;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.three-dots-logout-btn:hover .three-dots-icon-box {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}

.three-dots-logout-btn:hover .three-dots-menu-icon {
  color: #ffffff;
}

/* Desktop & Larger Screens (min-width: 768px) */
@media screen and (min-width: 768px) {
  .three-dots-dropdown-menu {
    width: 330px;
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: calc(100vh - 90px);
    padding: 0.95rem;
    gap: 0.4rem;
  }

  .three-dots-user-header {
    padding: 0.75rem 0.9rem;
    gap: 0.85rem;
    border-radius: 14px;
    margin-bottom: 0.45rem;
  }

  .three-dots-user-avatar {
    width: 42px;
    height: 42px;
  }

  .three-dots-user-name {
    font-size: 0.95rem;
  }

  .three-dots-user-email {
    font-size: 0.8rem;
  }

  .three-dots-menu-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.925rem;
    border-radius: 12px;
    gap: 0.85rem;
  }

  .three-dots-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .three-dots-menu-icon {
    font-size: 1rem;
  }

  .three-dots-menu-divider {
    margin: 0.45rem 0;
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section & Profile Centered Design
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: var(--section-padding-desktop);
  position: relative;
  z-index: 1;
}

.hero-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: center;
}

.hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-intro-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 680px;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto 2.25rem;
}

body.lang-bn .hero-intro-text {
  font-family: var(--font-bangla);
  font-size: 1.3rem;
  line-height: 1.85;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  width: 100%;
}

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.stat-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.stat-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. About Section
   -------------------------------------------------------------------------- */
.about-section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.about-glow-blob.blob-1 {
  width: 450px;
  height: 450px;
  top: 0;
  left: -120px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, var(--accent-blue) 100%);
}

.about-glow-blob.blob-2 {
  width: 480px;
  height: 480px;
  bottom: -50px;
  right: -140px;
  background: radial-gradient(circle, var(--accent-purple) 0%, var(--accent-violet) 100%);
}

.about-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
  pointer-events: none;
}

.about-section-title {
  text-align: center;
  margin-bottom: 3.25rem;
}

.about-main-heading {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-blue);
  max-width: 600px;
  margin: 0 auto;
}

.about-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
}

.about-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-block-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.85;
}

.card-cyan .about-card-accent-line { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); }
.card-blue .about-card-accent-line { background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet)); }
.card-purple .about-card-accent-line { background: linear-gradient(90deg, var(--accent-violet), var(--accent-purple)); }
.card-policy .about-card-accent-line { background: linear-gradient(90deg, #F97316, #EF4444); }

.about-block-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.about-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-cyan { background: rgba(34, 211, 238, 0.12); color: var(--accent-cyan); border: 1px solid rgba(34, 211, 238, 0.3); }
.icon-blue { background: rgba(56, 189, 248, 0.12); color: var(--accent-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.icon-purple { background: rgba(192, 132, 252, 0.12); color: var(--accent-purple); border: 1px solid rgba(192, 132, 252, 0.3); }
.icon-policy { background: rgba(239, 68, 68, 0.12); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.about-block-label {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
}

.label-cyan { background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.22); color: var(--accent-cyan); }
.label-blue { background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.22); color: var(--accent-blue); }
.label-purple { background: rgba(192, 132, 252, 0.08); border: 1px solid rgba(192, 132, 252, 0.22); color: var(--accent-purple); }
.label-policy { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.25); color: #EF4444; }

.about-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.about-block-desc {
  font-size: 1.025rem;
  color: var(--text-main);
  line-height: 1.8;
  opacity: 0.95;
  margin: 0;
}

.about-highlight {
  color: var(--accent-blue);
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: inline-block;
}

.about-highlight-danger {
  color: #F87171;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: inline-block;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. Services & Capabilities
   -------------------------------------------------------------------------- */
.services-section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.service-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text-main);
  width: 100%;
}

.service-row-item:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.service-row-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-row-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid var(--border-glow);
  flex-shrink: 0;
}

.service-row-title {
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.service-row-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   8. Tech Stack Showcase
   -------------------------------------------------------------------------- */
.tech-section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
  z-index: 1;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-card {
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.tech-card i {
  font-size: 2.5rem;
  color: var(--accent-blue);
}

.tech-card span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Projects & Case Studies Showcase
   -------------------------------------------------------------------------- */
.projects-section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
  z-index: 1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-shs-bazar { background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #0d9488 100%); }
.thumb-student-tools-ai { background: linear-gradient(135deg, #311b92 0%, #4c1d95 40%, #6366f1 75%, #8b5cf6 100%); }
.thumb-happy-birthday-wish { background: linear-gradient(135deg, #be185d 0%, #db2777 35%, #f97316 70%, #10b981 100%); }
.thumb-animated-heart { background: linear-gradient(135deg, #881337 0%, #e11d48 40%, #8b5cf6 100%); }

.thumb-icon-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-icon-svg {
  width: 72px;
  height: 72px;
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
}

.project-card:hover .project-thumb-overlay {
  opacity: 1;
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.project-info h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.project-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; flex: 1; }

.project-techs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tech-badge { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   9b. Project Filter Buttons (Pills)
   -------------------------------------------------------------------------- */
.project-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-blue);
  color: var(--text-main);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. Work Process & FAQ
   -------------------------------------------------------------------------- */
.process-section, .faq-section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
  z-index: 1;
}

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { padding: 0; margin-bottom: 1.25rem; }

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question i { transition: transform var(--transition-normal); color: var(--accent-blue); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer { padding: 0 1.5rem 1.25rem 1.5rem; max-height: 300px; }

/* --------------------------------------------------------------------------
   11. Contact Section
   -------------------------------------------------------------------------- */
.contact-section { padding: var(--section-padding-desktop) 0; position: relative; z-index: 1; }
.contact-grid { max-width: 800px; margin: 0 auto; }

.contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.contact-info-item:hover { border-color: var(--border-glow); transform: translateX(4px); }

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid var(--border-glow);
  flex-shrink: 0;
  overflow: hidden;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Contact Info Icon Brand Variants */
.contact-icon.gmail { background: rgba(234, 67, 53, 0.12); border-color: rgba(234, 67, 53, 0.3); }
.contact-icon.phone { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); color: var(--accent-emerald); }
.contact-icon.whatsapp { background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.3); color: #25D366; }
.contact-icon.hotline { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.3); color: var(--accent-blue); }
.contact-icon.telegram { background: rgba(36, 161, 222, 0.12); border-color: rgba(36, 161, 222, 0.3); color: #24A1DE; }
.contact-icon.linkedin { background: rgba(10, 102, 194, 0.12); border-color: rgba(10, 102, 194, 0.3); color: #0A66C2; }
.contact-icon.fiverr { background: rgba(29, 191, 115, 0.12); border-color: rgba(29, 191, 115, 0.3); color: #1DBF73; }

.contact-text h4 { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.15rem; }
.contact-text a, .contact-text p { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }

.social-links { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Brand Authentic Colors & Hover States for Social Row Buttons */
.social-btn.facebook { color: #1877F2; background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.25); }
.social-btn.facebook:hover { background: #1877F2; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }

.social-btn.tiktok { color: #000000; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); }
[data-theme="dark"] .social-btn.tiktok { color: #FFFFFF; }
.social-btn.tiktok:hover { background: #000000; color: #00f2fe; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3); }

.social-btn.telegram { color: #24A1DE; background: rgba(36, 161, 222, 0.1); border-color: rgba(36, 161, 222, 0.25); }
.social-btn.telegram:hover { background: #24A1DE; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(36, 161, 222, 0.4); }

.social-btn.linkedin { color: #0A66C2; background: rgba(10, 102, 194, 0.1); border-color: rgba(10, 102, 194, 0.25); }
.social-btn.linkedin:hover { background: #0A66C2; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4); }

.social-btn.email { color: #EA4335; background: rgba(234, 67, 53, 0.1); border-color: rgba(234, 67, 53, 0.25); }
.social-btn.email:hover { background: #EA4335; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4); }

.social-btn.whatsapp { color: #25D366; background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.25); }
.social-btn.whatsapp:hover { background: #25D366; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }

.social-btn.fiverr { color: #1DBF73; background: rgba(29, 191, 115, 0.1); border-color: rgba(29, 191, 115, 0.25); }
.social-btn.fiverr:hover { background: #1DBF73; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(29, 191, 115, 0.4); }
.social-btn.fiverr:hover svg path { fill: #FFFFFF; }

/* --------------------------------------------------------------------------
   12. DEDICATED SETTINGS PAGE STYLES
   -------------------------------------------------------------------------- */
.settings-section {
  position: relative;
  z-index: 1;
}

.settings-card {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.settings-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.settings-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

/* Segmented Radio Button Control */
.settings-option-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.settings-group-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.segmented-control {
  display: flex;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.segmented-option {
  flex: 1;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.segmented-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.segmented-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .segmented-btn {
    font-size: 0.78rem;
    padding: 0.55rem 0.25rem;
    gap: 0.3rem;
  }
}

.segmented-option input[type="radio"]:checked + .segmented-btn {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.segmented-btn:hover {
  color: var(--text-main);
}

/* Toggle Switches */
.settings-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 0;
}

.settings-toggle-row:not(:last-child) {
  border-bottom: 1px solid var(--border-glass);
}

.settings-toggle-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.settings-toggle-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid var(--border-glass);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.switch-toggle input:checked + .switch-slider {
  background: var(--gradient-primary);
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(24px);
}

/* Settings Account Profile Summary */
.settings-profile-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.settings-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue);
  box-shadow: var(--glow-blue);
  flex-shrink: 0;
}

.settings-profile-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.settings-profile-info p {
  font-size: 0.88rem;
  color: var(--accent-blue);
  margin: 0;
}

.settings-account-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.settings-action-btn {
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
}

/* Quick Links Grid inside Settings */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.quick-link-item i {
  color: var(--accent-blue);
  font-size: 1rem;
}

.quick-link-item:hover {
  border-color: var(--border-glow);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
  color: var(--accent-blue);
}

/* Support Buttons Row */
.support-btns-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.support-btns-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.925rem;
  height: 52px;
  max-height: 52px;
  border-radius: var(--radius-full);
  text-align: center;
  box-sizing: border-box;
}

.flex-1 {
  flex: 1 1 200px;
}

/* About Meta List */
.about-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border-glass);
}

.meta-label { font-weight: 700; color: var(--text-main); }
.meta-val { color: var(--text-muted); }

/* Settings Modal Overlay & Card */
.settings-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 17, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.settings-modal-overlay.active {
  display: flex;
  animation: modalOverlayFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.settings-modal-card {
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalOverlayFadeIn {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(16px); }
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Premium "Edit Profile" Dark Theme Modal Styling
   -------------------------------------------------------------------------- */
.edit-profile-modal-card {
  background: #0f172a !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  max-width: 520px;
  width: 100%;
  padding: 2rem !important;
  margin: auto;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  animation: editModalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes editModalScaleUp {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.edit-profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.edit-profile-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-primary);
  margin: 0;
}

.edit-profile-title-icon {
  color: #38bdf8;
  font-size: 1.15rem;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}

.edit-profile-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-profile-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: rotate(90deg);
}

.edit-profile-form-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.edit-profile-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.required-star {
  color: #ef4444;
  font-weight: 700;
}

.optional-tag {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 400;
}

.modal-form-control {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem 0.75rem 2.85rem !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.modal-form-control::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.modal-form-control:focus {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35) !important;
  outline: none !important;
}

.edit-profile-modal-card .input-icon-left {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #38bdf8 !important;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.username-wrapper {
  position: relative;
  width: 100%;
}

.username-wrapper .modal-form-control {
  padding-right: 2.75rem !important;
}

.username-status-icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
}

.username-status-success {
  color: #10b981 !important;
}

.username-status-error {
  color: #ef4444 !important;
}

.edit-profile-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  display: block;
  line-height: 1.4;
}

/* Avatar Upload Section Styling */
.avatar-upload-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
  background: rgba(30, 41, 59, 0.5);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-preview-container {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.avatar-preview-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  padding: 3px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-preview-ring:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
}

.avatar-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.avatar-preview-initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.85rem;
  font-family: var(--font-primary);
}

.avatar-controls-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.avatar-btns-group {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-avatar-change {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  padding: 0.55rem 1rem !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease !important;
}

.btn-avatar-change:hover {
  background: rgba(56, 189, 248, 0.25) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-1px);
}

.btn-avatar-remove {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(220, 38, 38, 0.28) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease !important;
}

.btn-avatar-remove:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4) !important;
  transform: translateY(-1px);
}

.avatar-file-name {
  font-size: 0.78rem;
  color: #94a3b8;
  word-break: break-all;
}

.avatar-upload-status {
  font-size: 0.78rem;
  font-weight: 600;
}

/* Modal Action Buttons */
.edit-profile-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-modal-cancel-outline {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #cbd5e1 !important;
  padding: 0.65rem 1.35rem !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease !important;
}

.btn-modal-cancel-outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.btn-save-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #6366F1 50%, #A855F7 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 0.65rem 1.6rem !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-save-gradient:hover:not(:disabled) {
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.55), 0 0 10px rgba(168, 85, 247, 0.3) !important;
  transform: translateY(-2px);
}

.btn-save-gradient:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.5) !important;
  box-shadow: none !important;
}

@media (max-width: 576px) {
  .edit-profile-modal-card {
    padding: 1.25rem !important;
    max-width: 94%;
    max-height: calc(100vh - 1.5rem) !important;
    border-radius: 16px !important;
  }
  .edit-profile-form-body {
    gap: 0.85rem !important;
  }
  .avatar-upload-row {
    padding: 0.75rem !important;
    gap: 0.85rem !important;
  }
  .avatar-preview-container,
  .avatar-preview-ring {
    width: 60px !important;
    height: 60px !important;
  }
  .avatar-preview-initial {
    font-size: 1.35rem !important;
  }
  .edit-profile-actions {
    margin-top: 0.85rem !important;
    padding-top: 0.75rem !important;
    gap: 0.65rem !important;
  }
  .btn-modal-cancel-outline,
  .btn-save-gradient {
    flex: 1;
    justify-content: center;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.85rem !important;
  }
}

/* --------------------------------------------------------------------------
   13. Mobile Bottom Navigation & Floating Controls
   -------------------------------------------------------------------------- */
.mobile-bottom-nav { display: none; }

@media (max-width: 768px) {
  body { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }

  .mobile-bottom-nav {
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    height: 64px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 2px;
    box-sizing: border-box;
    transition: color 0.2s ease;
  }

  .mobile-nav-item.active { color: var(--accent-blue); font-weight: 700; }
  .mobile-nav-icon {
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-label {
    font-size: 0.62rem;
    font-weight: 600;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    line-height: 1.1;
  }

  .mobile-fab-item { position: relative; }
  .mobile-fab-btn {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px rgba(56, 189, 248, 0.5);
    border: 3px solid var(--bg-dark);
    transition: transform 0.2s ease;
  }

  .mobile-fab-btn:active {
    transform: translateX(-50%) scale(0.95);
  }

  .mobile-fab-label {
    margin-top: auto;
    padding-bottom: 5px;
  }

}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 92px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: calc(128px + env(safe-area-inset-bottom));
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    z-index: 9999;
  }

  .back-to-top {
    bottom: calc(128px + env(safe-area-inset-bottom));
    right: 72px;
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
    z-index: 9999;
  }
}

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

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
  color: var(--text-main);
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { color: var(--text-muted); margin-top: 1rem; font-size: 0.9rem; max-width: 320px; }
.footer-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text-main); }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--accent-blue); }
.footer-links span { color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-glass); color: var(--text-muted); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   14b. Auth & Dashboard Profile Card Glassmorphism Styles
   -------------------------------------------------------------------------- */
.auth-card-container {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.auth-card-container.authenticated {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.auth-alert-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.auth-alert-box.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}

.auth-alert-box.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.auth-alert-box.alert-info {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-blue);
}

.alert-close-btn {
  margin-left: auto;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
  font-size: 1rem;
}

.alert-close-btn:hover {
  opacity: 1;
}

.auth-tabs-wrapper {
  display: flex;
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s ease;
  text-align: center;
  z-index: 1;
}

.auth-tab-btn.active {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-control.is-invalid {
  border-color: #EF4444;
}

.field-error-msg {
  font-size: 0.8rem;
  color: #F87171;
  display: none;
}

.field-error-msg.visible {
  display: block;
}

.password-toggle-btn {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.password-toggle-btn:hover {
  color: var(--text-main);
}

.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.forgot-pass-btn {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.85rem;
}

.forgot-pass-btn:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
  transition: all var(--transition-normal);
}

.auth-submit-btn:hover {
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-glass);
}

.auth-divider span {
  padding: 0 0.75rem;
}

.google-auth-wrapper {
  width: 100%;
}

.google-signin-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.google-signin-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

/* Logged-In Profile Dashboard Card */
.dashboard-user-card {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-avatar-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-primary);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.user-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-avatar-initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.25) 100%);
  color: var(--accent-blue);
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.user-display-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  text-align: center;
  line-height: 1.3;
}

.user-display-email {
  font-size: 0.875rem;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-align: center;
  word-break: break-all;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.dash-stat-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.dash-stat-box:hover {
  border-color: var(--border-glow);
  background: rgba(56, 189, 248, 0.06);
  transform: translateY(-2px);
}

.dash-stat-icon {
  font-size: 1.35rem;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  display: block;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
  display: block;
}

.dashboard-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.dash-btn {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-back-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.btn-back-login:hover {
  color: var(--accent-blue);
}

.auth-info-notice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--text-muted);
  font-size: 0.825rem;
  line-height: 1.4;
}

.auth-info-notice i {
  color: var(--accent-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpinnerSpin 0.8s linear infinite;
}

@keyframes btnSpinnerSpin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   14c. Glassmorphic Toast Notification Container & Items
   -------------------------------------------------------------------------- */
.webworldbd-toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.webworldbd-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 340px;
}

[data-theme="light"] .webworldbd-toast {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(203, 213, 225, 0.8);
}

.webworldbd-toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.webworldbd-toast .toast-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.webworldbd-toast.toast-info .toast-icon { color: var(--accent-blue); }
.webworldbd-toast.toast-success .toast-icon { color: var(--accent-emerald); }
.webworldbd-toast.toast-error .toast-icon { color: #EF4444; }

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .three-dots-dropdown-menu {
    width: 280px;
    max-width: calc(100vw - 20px);
    height: auto;
    max-height: calc(100vh - 160px);
    padding: 0.65rem;
    padding-bottom: 0.85rem;
  }

  .three-dots-menu-item {
    padding: 0.45rem 0.6rem;
    font-size: 0.875rem;
  }

  .three-dots-icon-box {
    width: 28px;
    height: 28px;
  }

  .three-dots-menu-icon {
    font-size: 0.85rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  h1, .h1 { font-size: 2.25rem; }
  h2, .h2 { font-size: 1.75rem; }
  .about-main-heading { font-size: 2rem; }
  .hero-intro-text { font-size: 1.1rem; line-height: 1.75; }

  .about-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-column {
    display: contents;
  }
  .about-block-card.card-cyan { order: 1; }
  .about-block-card.card-purple { order: 2; }
  .about-block-card.card-blue { order: 3; }
  .about-block-card.card-policy { order: 4; }
  .about-block-card {
    padding: 1.5rem 1.25rem;
  }
  .about-block-desc {
    font-size: 0.975rem;
    line-height: 1.75;
  }
  .about-card-title {
    font-size: 1.25rem;
  }
  .about-highlight,
  .about-highlight-danger {
    max-width: 100%;
    word-break: break-word;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-item {
    padding: 0.85rem 0.35rem;
  }
  .stat-item h3 {
    font-size: 1.4rem;
  }
  .stat-item p {
    font-size: 0.78rem;
  }
  .hero-stats {
    gap: 0.6rem;
  }
  .settings-account-actions {
    grid-template-columns: 1fr;
  }
  .support-btns-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h1, .h1 { font-size: 1.85rem; }
  h2, .h2 { font-size: 1.45rem; }
  .about-main-heading { font-size: 1.75rem; }
  .hero-intro-text { font-size: 1rem; line-height: 1.7; }

  .hero-cta-group {
    gap: 0.75rem;
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .settings-card {
    padding: 1.25rem 1rem;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
