/* Nova Debt Counselling CSS - Optimized for Performance & SEO
 * Author: Serge Mugisho
 * Colors based on provided Pantone palette
 */

:root {
  /* NOVA Brand Colors */
  --nova-primary: #4B2661;    /* Purple PANTONE 269 C */
  --nova-secondary: #75387D;  /* Dark Purple */
  --nova-accent: #C8933D;     /* Gold PANTONE 7510 C */
  --nova-gold: #C8933D;
  --nova-light-purple: #C0B3D6; /* Light Purple PANTONE 2635 C */
  
  /* Base Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --background: var(--white);
  --foreground: var(--gray-900);
  --card: var(--white);
  --card-foreground: var(--gray-900);
  --muted: var(--gray-100);
  --muted-foreground: var(--gray-600);
  --border: var(--gray-200);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 5rem 0;
  --border-radius: 0.75rem;
  
  /* Breakpoints */
  --mobile: 768px;
  --tablet: 1024px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--foreground);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

a {
  color: var(--nova-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--nova-accent);
}

/* Utility Classes */
.section-padding {
  padding: var(--section-padding);
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { 
    grid-template-columns: 1fr; 
  }
}

.flex {
  display: flex;
  gap: 1rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--nova-primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--nova-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--nova-accent);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #b8823a;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--nova-primary);
  border: 2px solid var(--nova-primary);
}

.btn-outline:hover {
  background-color: var(--nova-primary);
  color: var(--white);
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-brand .logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--nova-primary);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 4rem;
  height: 4rem;
  transition: transform 0.3s ease;
}

.complete-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  height: 2.5rem;
  width: auto;
  transition: transform 0.3s ease;
  background: transparent;
}

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-link {
  position: relative;
  color: var(--foreground);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: var(--nova-accent);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-link.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-accent));
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.nav-link.active::after {
  display: none;
}

.mobile-phone {
  display: none;
}

.mobile-phone a {
  color: var(--nova-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-phone a:hover {
  color: var(--nova-accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--nova-primary);
  margin: 2px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-phone {
    display: block;
  }
  
  .mobile-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--nova-primary) 0%, var(--nova-secondary) 100%);
  color: var(--white);
  padding: 8rem 0 5rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/bg1_1757778869630.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-text h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-text .accent {
  color: var(--nova-accent);
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-stats {
  position: absolute;
  bottom: -30px;
  left: 30px;
  background-color: var(--nova-accent);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-stats .number {
  font-size: 2rem;
  font-weight: 800;
}

/* Cards */
.card {
  background-color: var(--card);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--nova-primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(75, 38, 97, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--nova-primary);
}

.card h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Background Sections */
.bg-muted {
  background-color: var(--muted);
}

.bg-primary {
  background-color: var(--nova-primary);
  color: var(--white);
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
  color: var(--white);
}

.bg-primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--nova-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Contact Form */
.contact-form {
  background-color: var(--card);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Information Card */
#contact-info-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

#contact-info-card .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

#contact-info-card .contact-item p {
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

#contact-info-card .contact-item .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(75, 38, 97, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background-color: var(--nova-secondary);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
  }
  
  /* Reorder footer sections on mobile: Services, Quick Links, Social Media */
  .footer-services {
    order: 1;
  }
  
  .footer-links {
    order: 2;
  }
  
  .footer-brand {
    order: 3;
  }
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 400px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: var(--nova-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Loading and Disabled States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  background-color: rgba(75, 38, 97, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--nova-primary);
}

.stars {
  display: flex;
  margin-bottom: 1rem;
  color: var(--nova-accent);
}

/* Success/Error Messages */
.alert {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
}

.process-number {
  width: 5rem;
  height: 5rem;
  background-color: var(--nova-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}

/* Live Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: var(--font-family);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(75, 38, 97, 0.3);
  transition: all 0.3s ease;
  color: white;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(75, 38, 97, 0.4);
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .chat-window {
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    max-height: calc(100vh - 120px) !important;
    margin: 0 !important;
  }
  
  .chat-window.open {
    transform: translateY(0);
  }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-secondary));
  color: white;
  border-radius: 12px 12px 0 0;
}

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

.chat-avatar {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.chat-info p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  max-height: 300px;
  min-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  word-wrap: break-word;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.user-message {
  align-self: flex-end;
  align-items: flex-end;
}

.agent-message {
  align-self: flex-start;
  align-items: flex-start;
}

.message-content {
  padding: 0.75rem 1rem;
  border-radius: 18px;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-accent));
  color: white;
}

.agent-message .message-content {
  background: var(--gray-100);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.system-message {
  align-self: center;
  align-items: center;
  max-width: 90%;
}

.system-message .message-content {
  background: var(--nova-light-purple);
  color: var(--nova-primary);
  font-style: italic;
  text-align: center;
  border-radius: 12px;
  padding: 0.5rem 1rem;
}

.message-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-wrap;
  color: inherit;
}

.message-time {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin: 0 0.5rem;
}

.chat-input-container {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  border-color: var(--nova-primary);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-accent));
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

/* Name Input Form Styles */
.name-input-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
}

.name-input-form {
  width: 100%;
  max-width: 280px;
}

.name-input-header h4 {
  color: var(--nova-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.name-input-header p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.name-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-name-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
  text-align: center;
}

.user-name-input:focus {
  border-color: var(--nova-primary);
}

.user-name-input::placeholder {
  color: var(--gray-400);
}

.start-chat-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-accent));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.start-chat-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(75, 38, 97, 0.3);
}

.start-chat-btn:active {
  transform: translateY(0);
}

.start-chat-btn:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Chat Mobile Responsive - Additional adjustments */
@media (max-width: 768px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .name-input-container {
    padding: 1.5rem 1rem;
  }

  .name-input-header h4 {
    font-size: 1rem;
  }

  .name-input-header p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  
  .chat-messages {
    max-height: calc(100vh - 280px);
    min-height: 150px;
  }
}

/* Chat Admin Action Buttons */
.chat-actions {
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-top: 0.5rem;
}

.chat-item:hover .chat-actions {
  opacity: 1;
}

.chat-action-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.delete-btn {
  background: #fee2e2;
  color: #991b1b;
}

.delete-btn:hover {
  background: #fecaca;
  transform: translateY(-1px);
}

.archive-btn {
  background: #e0f2fe;
  color: #0277bd;
}

.archive-btn:hover {
  background: #b3e5fc;
  transform: translateY(-1px);
}

.chat-content {
  cursor: pointer;
}

/* Chat View Toggle Buttons */
.chat-view-toggle {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.view-toggle-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: white;
  color: var(--gray-600);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle-btn:hover {
  border-color: var(--nova-primary);
  color: var(--nova-primary);
}

.view-toggle-btn.active {
  background: linear-gradient(135deg, var(--nova-primary), var(--nova-accent));
  color: white;
  border-color: var(--nova-primary);
}

.archived-chat-item {
  opacity: 0.8;
}

.archived-chat-item .chat-content {
  border-left: 3px solid var(--nova-accent);
  padding-left: 0.75rem;
}

/* Social Media Icons */
.social-media-links {
  margin-top: 2rem;
}

.social-media-links h4 {
  color: var(--nova-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 2px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 2px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(25px);
}

.social-icon svg {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
}

/* Facebook */
.social-icon.facebook {
  background: linear-gradient(145deg, 
    rgba(24, 119, 242, 0.8) 0%, 
    rgba(24, 119, 242, 0.6) 100%);
  color: white;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.social-icon.facebook:hover {
  background: linear-gradient(145deg, 
    rgba(24, 119, 242, 0.9) 0%, 
    rgba(22, 111, 229, 0.7) 100%);
  border: 1px solid rgba(24, 119, 242, 0.5);
}

/* Instagram */
.social-icon.instagram {
  background: linear-gradient(145deg, 
    rgba(240, 148, 51, 0.8) 0%, 
    rgba(230, 104, 60, 0.7) 25%, 
    rgba(220, 39, 67, 0.7) 50%, 
    rgba(204, 35, 102, 0.7) 75%, 
    rgba(188, 24, 136, 0.8) 100%);
  color: white;
  border: 1px solid rgba(240, 148, 51, 0.3);
}

.social-icon.instagram:hover {
  background: linear-gradient(145deg, 
    rgba(240, 148, 51, 0.9) 0%, 
    rgba(230, 104, 60, 0.8) 25%, 
    rgba(220, 39, 67, 0.8) 50%, 
    rgba(204, 35, 102, 0.8) 75%, 
    rgba(188, 24, 136, 0.9) 100%);
  border: 1px solid rgba(240, 148, 51, 0.5);
}

/* TikTok */
.social-icon.tiktok {
  background: linear-gradient(145deg, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(26, 26, 26, 0.6) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon.tiktok:hover {
  background: linear-gradient(145deg, 
    rgba(0, 0, 0, 0.9) 0%, 
    rgba(26, 26, 26, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Social Icons */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-icon svg {
    width: 24px;
    height: 24px;
  }
}