/* 
===============================================
SurveyPH - Modern Commercial UI/UX Framework
===============================================
Professional grade styling with animations, gradients, and modern UX patterns
*/

/* CSS Custom Properties (Design System) */
:root {
  /* Modern Professional Color System */
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  --secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ea580c 100%);
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  
  /* Primary Blue Scale */
  --primary-blue: #2563eb;
  --primary-blue-light: #60a5fa;
  --primary-blue-dark: #1e40af;
  --primary-blue-darker: #1e3a8a;
  
  /* Secondary Colors */
  --secondary-amber: #f59e0b;
  --secondary-orange: #f97316;
  --secondary-cyan: #06b6d4;
  --secondary-emerald: #10b981;
  
  /* Accent Colors */
  --accent-sky: #0ea5e9;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Success/Error/Warning */
  --success: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --warning: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --error: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  --info: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  
  /* Typography */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  
  /* Font Sizes (Fluid Typography) */
  --text-xs: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
  --text-sm: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 2rem + 1.25vw, 3rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
  
  /* 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;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-colored: 0 20px 25px -5px rgba(0, 102, 204, 0.1), 0 10px 10px -5px rgba(0, 102, 204, 0.04);
  
  /* Animations */
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 350ms ease-out;
  --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

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

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

body {
  font-family: var(--font-family-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-weight: 600; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-600);
}

/* Modern Button System */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-family-primary);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-modern:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-modern:hover:before {
  left: 100%;
}

.btn-primary-modern {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.btn-secondary-modern {
  background: var(--secondary-gradient);
  color: var(--gray-900);
  box-shadow: var(--shadow-md);
}

.btn-secondary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--gray-900);
}

.btn-outline-modern {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  backdrop-filter: blur(10px);
}

.btn-outline-modern:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg-modern {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--text-lg);
}

.btn-sm-modern {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--text-sm);
}

/* Modern Card System */
.card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.card-gradient {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Professional Navigation */
.navbar-modern {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 2px 20px rgba(37, 99, 235, 0.06);
  transition: all var(--transition-base);
  position: relative;
  padding: 0.5rem 0;
}

.navbar-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gradient);
}

.navbar-modern.scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.08);
}

/* Enhanced Brand Styling */
.brand-enhanced {
  text-decoration: none;
  transition: all var(--transition-base);
}

.brand-enhanced:hover {
  transform: translateY(-1px);
}

.brand-icon-wrapper {
  position: relative;
}

.brand-icon-container {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.brand-icon {
  color: white;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 12px;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 0.125rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Enhanced Mobile Toggle */
.mobile-toggle-enhanced {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.05);
  transition: all var(--transition-base);
}

.mobile-toggle-enhanced:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

.mobile-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.toggle-line {
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.toggle-line:nth-child(1) { width: 100%; }
.toggle-line:nth-child(2) { width: 80%; }
.toggle-line:nth-child(3) { width: 60%; }

.mobile-toggle-enhanced:hover .toggle-line:nth-child(1) { width: 60%; }
.mobile-toggle-enhanced:hover .toggle-line:nth-child(2) { width: 100%; }
.mobile-toggle-enhanced:hover .toggle-line:nth-child(3) { width: 80%; }

/* Enhanced Navigation Links */
.nav-link-enhanced {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem !important;
  border-radius: 8px;
  margin: 0 0.125rem;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.875rem;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.08);
  transition: all var(--transition-base);
}

.nav-icon {
  font-size: 0.75rem;
  color: var(--primary-blue);
  transition: all var(--transition-base);
}

.nav-text {
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-base);
}

.nav-indicator {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link-enhanced:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary-blue);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-link-enhanced:hover .nav-icon-wrapper {
  background: rgba(37, 99, 235, 0.15);
  transform: scale(1.1);
}

.nav-link-enhanced:hover .nav-icon {
  color: var(--primary-blue-dark);
}

.nav-link-enhanced:hover .nav-indicator {
  width: 40px;
}

.nav-link-enhanced.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
}

.nav-link-enhanced.active .nav-icon-wrapper {
  background: var(--primary-blue);
}

.nav-link-enhanced.active .nav-icon {
  color: white;
}

.nav-link-enhanced.active .nav-indicator {
  width: 60px;
}

/* Enhanced User Dropdown */
.user-dropdown-enhanced {
  margin-left: 1rem;
}

.user-toggle-enhanced {
  padding: 0.375rem 0.875rem !important;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.user-toggle-enhanced:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
  color: var(--gray-800);
  text-decoration: none;
}

.user-avatar-wrapper {
  position: relative;
}

.user-avatar, .user-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid rgba(37, 99, 235, 0.2);
}

.user-avatar-placeholder {
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.avatar-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid white;
  border-radius: 50%;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}

.user-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1;
}

.dropdown-arrow {
  font-size: 0.75rem;
  color: var(--gray-500);
  transition: transform var(--transition-base);
}

.user-toggle-enhanced[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Enhanced Dropdown Menu */
.user-dropdown-menu {
  min-width: 280px;
  padding: 0.5rem;
  border: none;
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  margin-top: 0.5rem;
}

.dropdown-header-enhanced {
  padding: 1rem 1rem 0.5rem;
  border: none;
}

.header-user-info {
  display: flex;
  flex-direction: column;
}

.header-user-info strong {
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 0.125rem;
}

.header-user-info small {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.dropdown-item-enhanced {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.25rem;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--gray-700);
  border: none;
  background: none;
}

.dropdown-item-enhanced:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary-blue);
  transform: translateX(2px);
}

.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  margin-right: 0.75rem;
  transition: all var(--transition-base);
}

.dropdown-icon i {
  font-size: 0.9rem;
  color: var(--primary-blue);
}

.dropdown-item-enhanced:hover .dropdown-icon {
  background: var(--primary-blue);
  transform: scale(1.05);
}

.dropdown-item-enhanced:hover .dropdown-icon i {
  color: white;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
}

.dropdown-content span {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.125rem;
}

.dropdown-content small {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.logout-item:hover {
  background: rgba(239, 68, 68, 0.06);
  color: #dc2626;
}

.logout-item:hover .dropdown-icon {
  background: #dc2626;
}

/* Enhanced Authentication Buttons */
.btn-auth-outline, .btn-auth-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-auth-outline {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-blue);
}

.btn-auth-outline:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-blue);
  color: var(--primary-blue-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-auth-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-auth-primary:hover {
  background: var(--primary-blue-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  text-decoration: none;
}

.btn-icon {
  font-size: 0.8rem;
}

/* Legacy Navigation Support (fallback) */
.navbar-brand-modern {
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.nav-link-modern {
  position: relative;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition-base);
  padding: 0.75rem 1rem !important;
  border-radius: var(--radius-md);
  margin: 0 0.125rem;
}

.nav-link-modern:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link-modern:hover {
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-1px);
}

.nav-link-modern:hover:before,
.nav-link-modern.active:before {
  width: 80%;
}

.nav-link-modern.active {
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.1);
}

/* Loading Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -30px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -15px, 0);
  }
  90% { transform: translate3d(0, -4px, 0); }
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animation Classes */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-slideInUp { animation: slideInUp 0.6s ease-out; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }

/* Utility Classes */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  position: relative;
}

.gradient-border:before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: var(--primary-gradient);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
  }
  
  .btn-modern {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--text-sm);
  }
  
  .btn-lg-modern {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--text-base);
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .brand-tagline {
    font-size: 0.7rem;
  }
  
  .nav-text {
    font-size: 0.85rem;
  }
  
  .user-info {
    display: none !important;
  }
  
  .user-dropdown-menu {
    min-width: 260px;
  }
  
  .btn-auth-outline, .btn-auth-primary {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
  }
  
  .nav-link-enhanced {
    padding: 0.75rem 1rem !important;
  }
  
  .nav-icon-wrapper {
    width: 20px;
    height: 20px;
  }
  
  .nav-icon {
    font-size: 0.8rem;
  }
}

/* Internal Footer - Simple Professional Design */
.footer-internal {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  color: #ffffff;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-internal .footer-content {
  position: relative;
}

.footer-internal .footer-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-internal .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-internal .footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 2.2;
  display: block;
  padding: 0.25rem 0;
  transition: all 0.2s ease;
}

.footer-internal .footer-link:hover {
  color: #ffffff;
  text-decoration: none !important;
  padding-left: 0.5rem;
}

.footer-internal .footer-link:focus {
  text-decoration: none !important;
  outline: none;
  color: #ffffff;
}

.footer-internal .footer-brand h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-internal .footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-internal .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-internal .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-internal .social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none !important;
  transform: translateY(-2px);
}

.footer-internal .newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 0.375rem;
}

.footer-internal .newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-internal .newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  color: #ffffff;
}

.footer-internal .btn {
  text-decoration: none !important;
}

/* Remove all underlines from footer */
.footer-internal a,
.footer-internal a:hover,
.footer-internal a:focus,
.footer-internal a:active,
.footer-internal a:visited {
  text-decoration: none !important;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --gray-50: #0F172A;
    --gray-100: #1E293B;
    --gray-800: #E2E8F0;
    --gray-900: #F1F5F9;
  }
  
  body {
    background: var(--gray-50);
    color: var(--gray-800);
  }
  
  .card-modern {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .navbar-modern {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
  }
}