/*
 * SureSuccess - Profile Page Stylesheet
 * Optimized styles specifically for the profile page
 */

/* ======================================
   BASE STYLES & VARIABLES
   ====================================== */
:root {
  /* Color Palette */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-lighter: #93c5fd;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --secondary-lighter: #334155;
  
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  --background: #ffffff;
  --background-alt: #f8fafc;
  --background-dark: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-headings: 'Poppins', var(--font-primary);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Borders */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
}

/* ======================================
   RESET & BASE STYLES
   ====================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background);
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* ======================================
   ACCESSIBILITY
   ====================================== */
.skip-to-content {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: var(--primary);
  color: var(--text-white);
  padding: var(--spacing-md) var(--spacing-lg);
  z-index: 9999;
  opacity: 0;
  transition: var(--transition-fast);
}

.skip-to-content:focus {
  top: 20px;
  left: 20px;
  opacity: 1;
}

/* ======================================
   NAVIGATION
   ====================================== */
.navbar {
  background-color: var(--background);
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
  transition: var(--transition);
  z-index: 100;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.brand-logo {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
}

.brand-highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.25rem;
  color: var(--primary);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-nav {
  margin-left: 1.5rem;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.625rem 0.5rem;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--primary-gradient);
  margin-top: 4px;
  border-radius: var(--border-radius-full);
}

.nav-buttons {
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--background);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    box-shadow: var(--shadow);
  }

  .nav-buttons {
    margin-top: 1rem;
    flex-direction: column;
    width: 100%;
  }

  .nav-buttons .btn {
    margin: 0.25rem 0;
    width: 100%;
  }
}

/* ======================================
   BUTTONS
   ====================================== */
.btn {
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  outline: none !important;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover, 
.btn-primary:focus {
  background: var(--primary-dark);
  color: var(--text-white);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover, 
.btn-outline:focus {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow);
}

.btn-light:hover, 
.btn-light:focus {
  background: var(--background);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--text-white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: white;
}

/* ======================================
   PROFILE HEADER SECTION
   ====================================== */
.profile-header-section {
  background: var(--primary-gradient);
  padding: 7rem 0 0;
  position: relative;
  overflow: hidden;
}

/* Add subtle pattern overlay */
.profile-header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.profile-header {
  position: relative;
  z-index: 5;
  padding-bottom: 5rem;
}

.profile-header-content {
  animation: fadeInUp 0.5s ease-out;
}

.profile-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

/* Badge styling */
.profile-header .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  margin-left: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: var(--warning);
  color: #000;
}

/* Enhanced button styles */
.profile-header-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ======================================
   STATS CONTAINER
   ====================================== */
.profile-stats-container {
  position: relative;
  z-index: 10;
  margin-top: -1.5rem;
  padding: 0 1rem;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.stats-wrapper {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-box {
  text-align: center;
  padding: 1.25rem 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.stat-box:hover::after {
  width: 50px;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2563eb;
  line-height: 1.2;
  background: linear-gradient(45deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* ======================================
   PROFILE CARDS
   ====================================== */
.profile-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin-bottom: 1.75rem;
  background-color: #fff;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.profile-card .card-header {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

.profile-card .card-header i {
  transition: transform 0.3s ease;
}

.profile-card:hover .card-header i {
  transform: scale(1.2);
}

.profile-card .card-body {
  padding: 1.5rem;
}

/* Review card enhancements */
.review-card {
  background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1 10 17.32-1.732 1-10-17.32zm-20 20l1.732 1 10 17.32-1.732 1-10-17.32zM58.16 4.134l1 1.732 17.32 10-1 1.732-17.32-10zm-40 40l1 1.732 17.32 10-1 1.732-17.32-10zM80 9v2h20V9H80zm0 25.134l17.32 10 1-1.732-17.32-10-1 1.732zM54.134 60.16l17.32 10 1-1.732-17.32-10-1 1.732zM109 20h-2v10h2V20zm-20 25.134l-1 1.732 17.32 10 1-1.732-17.32-10zM60 80h20v-2H60v2zm-25.134.84l-1 1.732 17.32 10 1-1.732-17.32-10zM20 50h-2v10h2V50zm-1.732 49.866l-1-1.732-17.32 10 1 1.732 17.32-10zM0 80h2v20H0V80zm9.134.84l10-17.32 1.732 1-10 17.32-1.732-1zm20 0l10-17.32 1.732 1-10 17.32-1.732-1zM60 100h2v20h-2v-20zm-20-12.134l17.32-10 1 1.732-17.32 10-1-1.732zm40 0l17.32-10 1 1.732-17.32 10-1-1.732zM60 20h2v40h-2V20zm0 50h2v10h-2V70z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.review-card .card-body {
  position: relative;
  z-index: 1;
  color: white;
}

.review-card h5 {
  font-weight: 600;
  font-size: 1.25rem;
}

.review-card p {
  opacity: 0.85;
  color: white;
}

.review-card .btn {
  transition: all 0.3s ease;
}

.review-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* ======================================
   MODULE PROGRESS
   ====================================== */
.module-progress-item {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid transparent;
}

.module-progress-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-left-color: #3b82f6;
}

.module-progress-item h6 {
  font-weight: 600;
  transition: color 0.3s ease;
}

.module-progress-item:hover h6 {
  color: #3b82f6;
}

.module-progress-item .progress {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.module-progress-item .progress-bar {
  transition: width 1s ease;
  background-color: var(--primary);
}

.progress-bar.bg-success {
  background-color: var(--success) !important;
}

.progress-bar.bg-warning {
  background-color: var(--warning) !important;
}

.progress-bar.bg-danger {
  background-color: var(--danger) !important;
}

.progress-bar.bg-info {
  background-color: var(--info) !important;
}

/* ======================================
   STUDY RECOMMENDATIONS
   ====================================== */
.recommendation-item {
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.recommendation-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.recommendation-item.high-priority {
  border-left-color: #ef4444;
}

.recommendation-item.medium-priority {
  border-left-color: #f59e0b;
}

.recommendation-item.low-priority {
  border-left-color: #3b82f6;
}

.recommendation-item h6 {
  font-weight: 600;
}

.recommendation-item .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  font-weight: 500;
}

.recommendation-item .progress {
  height: 6px;
  background-color: #f1f5f9;
}

/* ======================================
   ACTIVITY CALENDAR
   ====================================== */
.activity-calendar {
  padding: 0.5rem 0;
}

.activity-day {
  font-weight: 600;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.85rem;
}

.activity-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 10px auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #f1f5f9;
}

.activity-circle::after {
  content: attr(data-activity);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  width: 40px;
  text-align: center;
}

.activity-circle:hover {
  transform: scale(1.2);
}

.activity-circle:hover::after {
  opacity: 1;
  bottom: -25px;
}

/* Activity level colors */
.activity-circle[data-activity="0"] {
  background-color: #f1f5f9;
}

.activity-circle[data-activity="5"],
.activity-circle[data-activity="8"] {
  background-color: #93c5fd;
}

.activity-circle[data-activity="10"],
.activity-circle[data-activity="15"] {
  background-color: #60a5fa;
}

.activity-circle[data-activity="25"] {
  background-color: #2563eb;
}

/* ======================================
   QUICK LINKS
   ====================================== */
.list-group-item {
  border: none;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.list-group-item:hover {
  background-color: #f1f5f9;
  transform: translateX(5px);
}

.list-group-item i {
  transition: transform 0.3s ease;
}

.list-group-item:hover i {
  transform: scale(1.2);
}

.list-group-item .badge {
  transition: all 0.3s ease;
}

.list-group-item:hover .badge {
  transform: scale(1.2);
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-success {
  background-color: var(--success) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
}

.bg-danger {
  background-color: var(--danger) !important;
}

.bg-info {
  background-color: var(--info) !important;
}

.bg-secondary {
  background-color: var(--text-muted) !important;
}

.bg-light {
  background-color: var(--background-alt) !important;
}

/* ======================================
   CHART ENHANCEMENTS
   ====================================== */
canvas {
  max-width: 100%;
  height: auto !important;
}

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
  background-color: var(--secondary);
  color: var(--text-white);
  padding-top: 5rem;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--secondary-lighter);
  border-radius: var(--border-radius-full);
  color: var(--text-white);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-lighter);
  padding-left: 5px;
}

.newsletter-form {
  margin-top: 1.5rem;
}

.newsletter-form .form-control {
  background-color: var(--secondary-lighter);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--text-white);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .form-control::placeholder {
  color: var(--text-light);
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-bottom {
  background-color: var(--secondary-dark);
  padding: 1.5rem 0;
  margin-top: 4rem;
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0;
}

/* ======================================
   BACK TO TOP BUTTON
   ====================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--primary-gradient);
  color: var(--text-white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 99;
}

.back-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ======================================
   SPINNER
   ====================================== */
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* ======================================
   RESPONSIVE ADJUSTMENTS
   ====================================== */
@media (max-width: 991.98px) {
  .profile-header-section {
    padding-top: 6rem;
  }
  
  .profile-header h2 {
    font-size: 2.25rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .profile-header-section {
    padding-top: 5rem;
  }
  
  .profile-header {
    padding-bottom: 3rem;
    text-align: center;
  }
  
  .profile-header h2 {
    font-size: 2rem;
  }
  
  .profile-header p {
    justify-content: center;
  }
  
  .profile-header-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .profile-header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .stat-box {
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .activity-circle {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 575.98px) {
  .profile-header-section {
    padding-top: 4.5rem;
  }
  
  .profile-header {
    padding-bottom: 2.5rem;
  }
  
  .profile-header h2 {
    font-size: 1.75rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .module-progress-item, .recommendation-item {
    padding: 1rem;
  }
  
  .activity-circle {
    width: 20px;
    height: 20px;
  }
  
  .activity-day {
    font-size: 0.75rem;
  }
}