/* Modern 2025 Design System */
:root {
  /* Color Palette */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --secondary: #f59e0b;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* 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;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Clash Display', 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Light Mode Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
}

/* Dark Mode Colors */
[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --border-color: #333333;
  --card-bg: #1a1a1a;
  --header-bg: rgba(10, 10, 10, 0.95);
  --header-bg-scrolled: rgba(10, 10, 10, 0.98);
  
  /* Dark mode shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.6), 0 2px 4px -2px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6), 0 4px 6px -4px rgb(0 0 0 / 0.6);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.6);
  
  /* Dark mode glassmorphism */
  --glass-bg: rgba(26, 26, 26, 0.9);
  --glass-border: rgba(51, 51, 51, 0.4);
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
  right: 0;
    z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.main-header.scrolled {
    background: var(--header-bg-scrolled);
  box-shadow: var(--shadow-lg);
}

.main-header .container {
    display: flex;
    align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
  gap: var(--space-xl);
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
    position: relative;
  transition: all 0.3s ease;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
  background: rgba(245, 158, 11, 0.1);
}

.main-nav a::after {
    content: '';
    position: absolute;
  bottom: -2px;
  left: 50%;
    width: 0;
  height: 2px;
    background: var(--secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 80%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    z-index: 1001;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    gap: 4px;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle.active {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle span {
  width: 25px;
    height: 3px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Dark Mode Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: var(--space-md);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--glass-bg);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.theme-toggle i {
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.theme-toggle:hover i {
  color: var(--secondary);
}

.theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(-90deg);
  position: absolute;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
  .theme-toggle {
    margin-left: var(--space-sm);
    width: 36px;
    height: 36px;
  }
  
  .theme-toggle i {
    font-size: 1rem;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/services/background_rims.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-top: 80px; /* Account for fixed header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/services/background_rims.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-2xl);
  color: var(--gray-100);
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #f59e0b 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-button.secondary {
  background: rgba(30, 41, 59, 0.08);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.cta-button.outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
    }

.cta-button.outline:hover {
  background: var(--secondary);
  color: var(--white);
    }

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Trust Indicators */
.trust-indicators {
  background: var(--white);
  padding: var(--space-2xl) 0;
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

.trust-indicators .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-item i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.trust-item span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

/* Services Preview */
.services-preview {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--secondary) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
  justify-content: center;
    opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay a {
  color: var(--white);
  text-decoration: none;
  padding: var(--space-md) var(--space-xl);
  border: 2px solid var(--white);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.service-overlay a:hover {
  background: var(--white);
  color: var(--gray-900);
}

.service-card h3 {
  color: var(--text-primary);
  margin: var(--space-lg) var(--space-lg) var(--space-sm);
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  margin: 0 var(--space-lg) var(--space-lg);
  font-size: 1rem;
}

.price-badge {
    position: absolute;
  top: var(--space-md);
  right: var(--space-md);
    background: var(--secondary);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
    font-weight: 600;
  font-size: 0.875rem;
}

/* Testimonials */
.testimonials {
  background: var(--bg-secondary);
  padding: var(--space-3xl) 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.testimonial-slide {
  background: var(--card-bg);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.rating {
  margin-bottom: var(--space-lg);
}

.rating i {
    color: var(--secondary);
  font-size: 1.25rem;
}

.testimonial-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.client-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.client-info h4 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.1rem;
}

.client-info span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: var(--bg-secondary);
  padding: var(--space-3xl) 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.cta-content h2 {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  font-size: 1.25rem;
}

.cta-buttons {
    display: flex;
  gap: var(--space-lg);
    justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.main-footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

.footer-top {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-top .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
}

.footer-column h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--secondary);
}

.social-links {
    display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-column .contact-info li {
    display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-column .contact-info i {
    color: var(--secondary);
  width: 20px;
}

.footer-bottom {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-lg) 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
    display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
  }
  
  .main-nav.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0;
  }
  
  .main-nav li {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .main-nav li:last-child {
    border-bottom: none;
  }
  
  .main-nav a {
    display: block;
    padding: var(--space-md) 0;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--secondary);
    background: var(--bg-secondary);
    padding-left: var(--space-md);
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile Hero Section Fixes */
  .hero {
    width: 100vw;
    min-height: 100vh;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
  }
  
  .hero::before {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }
  
  .hero-content {
    padding: var(--space-2xl) var(--space-lg);
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
  }
  
  .hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    line-height: 1.4;
    margin-bottom: var(--space-xl);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-indicators .container {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-slider {
    grid-template-columns: 1fr;
  }
    
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
    
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Additional mobile landscape fixes */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }
  
  .hero::before {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: var(--space-xl) var(--space-lg);
    max-width: 85%;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
  }
  
  .hero p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    line-height: 1.3;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero {
    width: 100vw;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
  }
  
  .hero::before {
    background-size: cover;
    background-position: center center;
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
    max-width: 95%;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
  }
  
  .hero p {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    line-height: 1.4;
    margin-bottom: var(--space-lg);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
    }
  to {
    opacity: 1;
    transform: translateX(0);
  }
    }
    
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
    }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
    }
    
.scroll-indicator span {
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
    }
    
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
    }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Text Center Utility */
.text-center {
  text-align: center;
}

/* Security Alert Styles */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.alert i {
    margin-right: 8px;
    font-size: 16px;
}

.alert ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.alert li {
    margin-bottom: 5px;
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-group .error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Security Badge */
.security-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.security-badge i {
    font-size: 14px;
}

/* Rate Limit Warning */
.rate-limit-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* CSRF Token Field (Hidden) */
input[name="csrf_token"] {
    display: none;
}

/* Security Headers Info */
.security-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    font-size: 13px;
    color: #6c757d;
}

.security-info h4 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 14px;
}

.security-info ul {
    margin: 0;
    padding-left: 20px;
}

.security-info li {
    margin-bottom: 5px;
}

/* Responsive Security Elements */
@media (max-width: 768px) {
    .security-badge {
        bottom: 10px;
        right: 10px;
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .alert {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .alert ul {
        margin-left: 15px;
    }
}
