/* ==========================================
   FinGlobal Insights - Main Stylesheet
   ========================================== */

/* ==========================================
   CSS Variables & Root Configuration
   ========================================== */
:root {
  /* Color Palette */
  --color-white: #ffffff;
  --primary-color: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --accent-color: #60a5fa;
  --success-color: #059669;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --info-color: #0891b2;
  
  /* Neutral Colors */
  --dark-color: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --light-color: #f9fafb;
  --white: #ffffff;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  /* Spacing aliases for utility classes */
  --spacing-1: var(--space-1);
  --spacing-2: var(--space-2);
  --spacing-3: var(--space-3);
  --spacing-4: var(--space-4);
  --spacing-5: var(--space-12);
  --spacing-6: var(--space-6);
  --spacing-8: var(--space-8);
  --spacing-10: var(--space-10);
  --spacing-12: var(--space-12);
  --spacing-16: var(--space-16);
  --spacing-20: var(--space-20);
  --spacing-24: var(--space-24);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --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);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  --section-padding: 5rem;
}

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

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

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

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

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); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

/* Lists */
ul, ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
}

/* Forms */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Form Enhancements */
.form-control,
.form-select {
  border: 1px solid var(--gray-400);
  background-color: var(--gray-100);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-dark);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.2);
}

.currency-converter .form-control,
.currency-converter .form-select {
  background-color: var(--gray-100);
}

.currency-converter #to-amount[readonly] {
  background-color: var(--gray-200);
  color: var(--gray-700);
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--gray-500) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-light { background-color: var(--light-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: visible;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: var(--space-4) 0;
  min-height: var(--header-height);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none !important;
}

.navbar-brand:hover {
  color: var(--primary-dark) !important;
}

.logo {
  margin-right: var(--space-3);
  flex-shrink: 0;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-4) !important;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff !important;
}

.navbar-dark .dropdown-menu {
  background-color: #ffffff;
}

.navbar-dark .dropdown-item {
  color: var(--gray-800);
}

.navbar-dark .dropdown-item:hover {
  background-color: var(--gray-100);
}

.dropdown-menu {
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  min-width: 220px;
}

.dropdown-item {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--gray-100);
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  padding: var(--space-2);
  border-radius: var(--radius-md);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--primary-color);
}

/* ==========================================
   Hero & Page Headers
   ========================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,50 0,100"/></svg>') bottom center no-repeat;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  font-size: var(--text-5xl);
  font-weight: 800;
}

.hero .lead {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.hero-section .slide-bg {
  position: relative;
  min-height: 320px;
}

.hero-section h1,
.hero-section p {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.main-content {
  padding-top: 0;
}

.featured-swiper .swiper-button-next,
.featured-swiper .swiper-button-prev {
  color: var(--primary-color);
  background-color: rgba(255,255,255,0.95);
}

.featured-swiper .swiper-pagination-bullet {
  background-color: var(--gray-300);
}

.featured-swiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: var(--space-6);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ==========================================
   Buttons & CTAs
   ========================================== */
.btn {
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white);
}

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

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

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

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

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

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

.pagination .page-link {
  color: var(--primary-color);
}

.pagination .page-link:hover {
  background-color: var(--gray-100);
  color: var(--primary-dark);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ==========================================
   Cards & Content Boxes
   ========================================== */
.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

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

.card-header {
  background-color: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-6);
}

.card-body {
  padding: var(--space-6);
}

.card-title {
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.card-text {
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  height: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-2xl);
}

/* Feature Cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: var(--text-xl);
  flex-shrink: 0;
}

/* ==========================================
   Swiper Carousel
   ========================================== */
.swiper {
  border-radius: 0;
  overflow: hidden;
}

.swiper-slide {
  background-color: var(--white);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--white);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: var(--text-lg);
  font-weight: bold;
}

.swiper-pagination-bullet {
  background-color: var(--gray-300);
  opacity: 1;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

/* ==========================================
   Forms & Inputs
   ========================================== */
.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}

.form-control,
.form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  transition: all var(--transition-normal);
  background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control:invalid,
.form-select:invalid {
  border-color: var(--danger-color);
}

.form-control:valid,
.form-select:valid {
  border-color: var(--success-color);
}

.invalid-feedback {
  color: var(--danger-color);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.valid-feedback {
  color: var(--success-color);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* Form Container */
.form-container {
  background-color: var(--white);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

/* ==========================================
   Contact Page Styles
   ========================================== */
.contact-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  height: 100%;
}

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

.contact-icon {
  margin-bottom: var(--space-4);
}

.contact-card h4 {
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.contact-card address {
  margin-bottom: var(--space-2);
  font-style: normal;
  color: var(--gray-600);
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Chat Widget */
.chat-widget {
  background-color: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.chat-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--gray-400);
}

.status-indicator.online {
  background-color: var(--success-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.status-text {
  font-weight: 600;
  color: var(--gray-700);
}

.chat-button-container {
  margin: var(--space-6) 0;
}

.chat-hours {
  font-size: var(--text-sm);
}

.livechat-placeholder {
  border: 2px dashed var(--gray-300);
  background-color: var(--gray-50);
}

/* FAQ Section */
.faq-section h2 {
  color: var(--gray-900);
  margin-bottom: var(--space-8);
}

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header .accordion-button {
  background-color: var(--white);
  color: var(--gray-900);
  font-weight: 600;
  padding: var(--space-4) var(--space-6);
  border: none;
  box-shadow: none;
  transition: background-color var(--transition-normal);
}

.accordion-header .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: var(--white);
}

.accordion-header .accordion-button:hover {
  background-color: var(--gray-50);
}

.accordion-header .accordion-button:not(.collapsed):hover {
  background-color: var(--primary-dark);
}

.accordion-body {
  padding: var(--space-6);
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-900) 100%);
  color: var(--gray-300);
  padding: var(--space-20) 0 var(--space-12);
}

.footer h5,
.footer h6 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer ul {
  list-style: none;
  padding: 0;
}

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

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer .social-links a {
  font-size: var(--text-xl);
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

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

.footer hr {
  border-color: var(--gray-700);
  margin: var(--space-12) 0;
}

.footer p {
  color: var(--gray-400);
  margin-bottom: 0;
}

/* ==========================================
   Placeholder System
   ========================================== */
.placeholder {
  position: relative;
  display: inline-block;
}

.placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(30, 58, 138, 0.1) 0%, 
    rgba(30, 58, 138, 0.2) 50%, 
    rgba(30, 58, 138, 0.1) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--primary-color);
  font-weight: 500;
  animation: placeholder-shimmer 2s infinite;
}

@keyframes placeholder-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

/* ==========================================
   Responsive Design
   ========================================== */
/* Large devices (desktops, 1200px and up) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

/* Medium devices (tablets, 992px and down) */
@media (max-width: 992px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
    --section-padding: 3rem;
  }
  
  .container {
    max-width: 720px;
  }
  
  .hero {
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  }
  
  .hero h1 {
    font-size: var(--text-4xl);
  }
  
  .service-card,
  .contact-card {
    padding: var(--space-6);
  }
  
  .form-container {
    padding: var(--space-6);
  }
}

/* Small devices (landscape phones, 768px and down) */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.375rem;
    --section-padding: 2rem;
  }
  
  .container {
    max-width: 540px;
    padding: 0 var(--space-4);
  }
  
  .navbar {
    padding: var(--space-3) 0;
  }
  
  .hero {
    padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
  }
  
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .hero .lead {
    font-size: var(--text-lg);
  }
  
  .btn {
    padding: var(--space-3) var(--space-5);
  }
  
  .btn-lg {
    padding: var(--space-3) var(--space-6);
  }
  
  .service-card,
  .contact-card {
    padding: var(--space-5);
  }
  
  .form-container {
    padding: var(--space-5);
  }
  
  .footer {
    padding: var(--space-12) 0 var(--space-8);
  }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  :root {
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
    --text-3xl: 1.25rem;
    --section-padding: 1.5rem;
  }
  
  .container {
    max-width: 100%;
    padding: 0 var(--space-3);
  }
  
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .hero .lead {
    font-size: var(--text-base);
  }
  
  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
  
  .service-card,
  .contact-card {
    padding: var(--space-4);
  }
  
  .form-container {
    padding: var(--space-4);
  }
  
  .feature-card {
    flex-direction: column;
    text-align: center;
  }
  
  .accordion-header .accordion-button {
    padding: var(--space-3) var(--space-4);
  }
  
  .accordion-body {
    padding: var(--space-4);
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .chat-widget,
  .livechat-placeholder {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .card,
  .service-card,
  .contact-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ==========================================
   Animation Utilities
   ========================================== */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ==========================================
   Accessibility & Focus Styles
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-visible:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --gray-700: #000000;
    --gray-600: #333333;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
/*
   FinGlobal Insights - Main Stylesheet
   Author: FinGlobal Insights
   Version: 1.0.0
   ========================================== */

/* ==========================================
   Component: Certification Cards
   ========================================== */
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-6);
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
}

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

.cert-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-4);
  width: 100%;
  min-height: 150px;
}

.cert-image svg {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   CSS Variables & Design Tokens
   ========================================== */
:root {
  /* Colors */
  --color-primary: #1e3a8a;
  --color-primary-dark: #1e40af;
  --color-primary-light: #3b82f6;
  --color-secondary: #64748b;
  --color-accent: #f59e0b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #06b6d4;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  
  /* Typography */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --spacing-1: 0.25rem;   /* 4px */
  --spacing-2: 0.5rem;    /* 8px */
  --spacing-3: 0.75rem;   /* 12px */
  --spacing-4: 1rem;      /* 16px */
  --spacing-5: 1.25rem;   /* 20px */
  --spacing-6: 1.5rem;    /* 24px */
  --spacing-8: 2rem;      /* 32px */
  --spacing-10: 2.5rem;   /* 40px */
  --spacing-12: 3rem;     /* 48px */
  --spacing-16: 4rem;     /* 64px */
  --spacing-20: 5rem;     /* 80px */
  --spacing-24: 6rem;     /* 96px */
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-base: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --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);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: var(--line-height-normal);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Typography Reset */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-gray-900);
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
}

ul, ol {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  padding-left: var(--spacing-6);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================
   Utility Classes
   ========================================== */

/* Text Utilities */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-success { color: var(--color-success) !important; }
.text-warning { color: var(--color-warning) !important; }
.text-error { color: var(--color-error) !important; }
.text-info { color: var(--color-info) !important; }

.text-muted { color: var(--color-gray-500) !important; }
.text-white { color: var(--color-white) !important; }

.text-xs { font-size: var(--font-size-xs) !important; }
.text-sm { font-size: var(--font-size-sm) !important; }
.text-lg { font-size: var(--font-size-lg) !important; }
.text-xl { font-size: var(--font-size-xl) !important; }

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

.font-weight-normal { font-weight: var(--font-weight-normal) !important; }
.font-weight-medium { font-weight: var(--font-weight-medium) !important; }
.font-weight-semibold { font-weight: var(--font-weight-semibold) !important; }
.font-weight-bold { font-weight: var(--font-weight-bold) !important; }

/* Spacing Utilities */
.mb-1 { margin-bottom: var(--spacing-1) !important; }
.mb-2 { margin-bottom: var(--spacing-2) !important; }
.mb-3 { margin-bottom: var(--spacing-3) !important; }
.mb-4 { margin-bottom: var(--spacing-4) !important; }
.mb-5 { margin-bottom: var(--spacing-5) !important; }

.mt-1 { margin-top: var(--spacing-1) !important; }
.mt-2 { margin-top: var(--spacing-2) !important; }
.mt-3 { margin-top: var(--spacing-3) !important; }
.mt-4 { margin-top: var(--spacing-4) !important; }
.mt-6 { margin-top: var(--spacing-6) !important; }
.mt-8 { margin-top: var(--spacing-8) !important; }

.p-1 { padding: var(--spacing-1) !important; }
.p-2 { padding: var(--spacing-2) !important; }
.p-3 { padding: var(--spacing-3) !important; }
.p-4 { padding: var(--spacing-4) !important; }
.p-5 { padding: var(--spacing-5) !important; }

/* Display Utilities */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/* Flexbox Utilities */
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }

/* Position Utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

/* Border Utilities */
.rounded { border-radius: var(--border-radius-base) !important; }
.rounded-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-base { box-shadow: var(--shadow-base) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* ==========================================
   Component: Header
   ========================================== */
.header {
  background: var(--color-white);
  box-shadow: var(--shadow-base);
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
}

.header__logo {
  display: flex;
  align-items: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  text-decoration: none;
}

.header__logo:hover {
  text-decoration: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--border-radius-base);
  transition: all var(--transition-fast);
}

.header__nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-gray-50);
  text-decoration: none;
}

.header__nav-link--active {
  color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header__nav-link--active:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown-item {
  display: block;
  padding: var(--spacing-3) var(--spacing-4);
  color: var(--color-gray-700);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
}

.header__dropdown-item:hover {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
  text-decoration: none;
}

/* ==========================================
   Component: Page Header
   ========================================== */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
  pointer-events: none;
}

.page-header__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-4);
  position: relative;
  z-index: 1;
}

.page-header__description {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.page-header__breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: var(--spacing-4);
}

.page-header__breadcrumb-item {
  color: var(--color-white);
  opacity: 0.8;
}

.page-header__breadcrumb-item--active {
  opacity: 1;
  font-weight: var(--font-weight-medium);
}

/* ==========================================
   Component: Hero Section
   ========================================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--spacing-20) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--spacing-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  margin-bottom: var(--spacing-8);
  max-width: 600px;
}

.hero__cta {
  display: flex;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.hero__btn {
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.hero__btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

.hero__btn--primary:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero__btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.hero__btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   Component: Swiper Carousel
   ========================================== */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.swiper-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.swiper-slide__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(45deg, var(--color-gray-200), var(--color-gray-300));
}

.swiper-slide__content {
  padding: var(--spacing-6);
}

.swiper-slide__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-3);
  color: var(--color-gray-900);
}

.swiper-slide__description {
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-4);
  line-height: var(--line-height-relaxed);
}

.swiper-slide__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

.swiper-slide__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.swiper-slide__date {
  font-weight: var(--font-weight-medium);
}

.swiper-pagination {
  position: static;
  margin-top: var(--spacing-6);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--color-gray-300);
  opacity: 1;
  transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: var(--border-radius-full);
}

/* ==========================================
   Component: Currency Converter
   ========================================== */
.converter {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}

.converter__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-6);
  color: var(--color-gray-900);
}

.converter__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.converter__input-group {
  position: relative;
}

.converter__label {
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--spacing-2);
  display: block;
}

.converter__input {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.converter__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(30 58 138 / 0.1);
}

.converter__select {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-base);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.converter__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(30 58 138 / 0.1);
}

.converter__swap {
  display: flex;
  justify-content: center;
  margin: var(--spacing-4) 0;
}

.converter__swap-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.converter__swap-btn:hover {
  background: var(--color-primary-dark);
  transform: rotate(180deg);
}

.converter__result {
  background: var(--color-gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  margin-top: var(--spacing-6);
  text-align: center;
  border: 2px solid var(--color-gray-200);
}

.converter__result-amount {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-2);
}

.converter__result-rate {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

/* ==========================================
   Component: Article Cards
   ========================================== */
.article-card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.article-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(45deg, var(--color-gray-200), var(--color-gray-300));
}

.article-card__content {
  padding: var(--spacing-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-3);
}

.article-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-3);
  color: var(--color-gray-900);
  line-height: var(--line-height-tight);
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--color-primary);
}

.article-card__description {
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-4);
  line-height: var(--line-height-relaxed);
  flex: 1;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  border-top: 1px solid var(--color-gray-200);
  padding-top: var(--spacing-4);
  margin-top: auto;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.article-card__date {
  font-weight: var(--font-weight-medium);
}

/* ==========================================
   Component: Contact Cards
   ========================================== */
.contact-card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-8);
  text-align: center;
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.contact-card__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4);
  font-size: var(--font-size-2xl);
}

.contact-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-3);
  color: var(--color-gray-900);
}

.contact-card__content {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-3);
}

.contact-card__content a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}

.contact-card__note {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin-top: auto;
}

/* ==========================================
   Component: Form Container
   ========================================== */
.form-container {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-10);
  box-shadow: var(--shadow-lg);
}

.form-container__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.form-container__description {
  text-align: center;
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-8);
  line-height: var(--line-height-relaxed);
}

/* ==========================================
   Component: Chat Widget
   ========================================== */
.chat-widget {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.chat-widget__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-4);
}

.chat-widget__indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-full);
  background: var(--color-success);
  animation: pulse 2s infinite;
}

.chat-widget__indicator--offline {
  background: var(--color-gray-400);
  animation: none;
}

.chat-widget__text {
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
}

.chat-widget__button {
  background: var(--color-success);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}

.chat-widget__button:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.chat-widget__hours {
  margin-top: var(--spacing-4);
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

/* ==========================================
   Component: LiveChat Placeholder
   ========================================== */
.livechat-placeholder {
  background: var(--color-gray-50);
  border: 2px dashed var(--color-gray-300);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-8);
  text-align: center;
}

.livechat-placeholder__icon {
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-4);
}

.livechat-placeholder__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-3);
  color: var(--color-gray-700);
}

.livechat-placeholder__description {
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-4);
  line-height: var(--line-height-relaxed);
}

.livechat-placeholder__alert {
  background: var(--color-info);
  color: var(--color-white);
  border-radius: var(--border-radius-base);
  padding: var(--spacing-3) var(--spacing-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

/* ==========================================
   Component: Footer
   ========================================== */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-300);
  margin-top: auto;
}

.footer__section {
  margin-bottom: var(--spacing-8);
}

.footer__title {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-4);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list-item {
  margin-bottom: var(--spacing-2);
}

.footer__link {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid var(--color-gray-700);
  padding-top: var(--spacing-8);
  margin-top: var(--spacing-8);
}

.footer__copyright {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
}

.footer__social {
  display: flex;
  gap: var(--spacing-4);
  justify-content: flex-end;
}

.footer__social-link {
  color: var(--color-gray-400);
  font-size: var(--font-size-xl);
  transition: color var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--color-white);
}

/* ==========================================
   Component: Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-base);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

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

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--color-gray-200);
  color: var(--color-gray-700);
}

.btn--secondary:hover {
  background: var(--color-gray-300);
  transform: translateY(-2px);
}

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

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

.btn--ghost {
  background: transparent;
  color: var(--color-gray-600);
}

.btn--ghost:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-900);
}

.btn--sm {
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-sm);
}

.btn--base {
  padding: var(--spacing-3) var(--spacing-6);
  font-size: var(--font-size-base);
}

.btn--lg {
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
}

.btn--xl {
  padding: var(--spacing-5) var(--spacing-10);
  font-size: var(--font-size-xl);
}

/* ==========================================
   Component: Forms
   ========================================== */
.form-group {
  margin-bottom: var(--spacing-6);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--spacing-2);
}

.form-label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form-control {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--border-radius-base);
  font-size: var(--font-size-base);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(30 58 138 / 0.1);
}

.form-control--error {
  border-color: var(--color-error);
}

.form-control--error:focus {
  box-shadow: 0 0 0 3px rgb(239 68 68 / 0.1);
}

.form-control--success {
  border-color: var(--color-success);
}

.form-control--success:focus {
  box-shadow: 0 0 0 3px rgb(16 185 129 / 0.1);
}

.form-select {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--border-radius-base);
  font-size: var(--font-size-base);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(30 58 138 / 0.1);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-4);
}

.form-check__input {
  margin-top: 0.25rem;
  accent-color: var(--color-primary);
}

.form-check__label {
  color: var(--color-gray-700);
  line-height: var(--line-height-normal);
}

.form-error {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-2);
  display: block;
}

.form-help {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-2);
  display: block;
}

/* ==========================================
   Component: Cards
   ========================================== */
.card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  height: 100%;
}

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

.card--featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.card__header {
  margin-bottom: var(--spacing-6);
}

.card__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-3);
  color: var(--color-gray-900);
}

.card__subtitle {
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.card__body {
  flex: 1;
}

.card__footer {
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-6);
  border-top: 1px solid var(--color-gray-200);
}

/* ==========================================
   Component: Placeholders
   ========================================== */
.placeholder {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-300) 50%, var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: placeholder-shimmer 1.5s infinite;
  border-radius: var(--border-radius-sm);
  min-height: 1em;
  min-width: 100px;
}

.placeholder--text {
  min-height: 1.5em;
}

.placeholder--heading {
  min-height: 2em;
  min-width: 200px;
}

.placeholder--image {
  min-height: 200px;
  min-width: 300px;
  border-radius: var(--border-radius-base);
}

/* ==========================================
   Component: Loading States
   ========================================== */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: loading-shimmer 1.5s infinite;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--color-gray-200);
  border-top-color: var(--color-primary);
  border-radius: var(--border-radius-full);
  animation: spin 1s linear infinite;
}

.spinner--sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner--lg {
  width: 32px;
  height: 32px;
  border-width: 4px;
}

/* ==========================================
   Component: Alerts
   ========================================== */
.alert {
  padding: var(--spacing-4) var(--spacing-6);
  border-radius: var(--border-radius-lg);
  border: 1px solid;
  margin-bottom: var(--spacing-4);
  position: relative;
}

.alert--info {
  background: rgb(6 182 212 / 0.1);
  border-color: rgb(6 182 212 / 0.2);
  color: var(--color-info);
}

.alert--success {
  background: rgb(16 185 129 / 0.1);
  border-color: rgb(16 185 129 / 0.2);
  color: var(--color-success);
}

.alert--warning {
  background: rgb(245 158 11 / 0.1);
  border-color: rgb(245 158 11 / 0.2);
  color: var(--color-warning);
}

.alert--error {
  background: rgb(239 68 68 / 0.1);
  border-color: rgb(239 68 68 / 0.2);
  color: var(--color-error);
}

/* ==========================================
   Component: Badges
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-1) var(--spacing-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.badge--success {
  background: var(--color-success);
  color: var(--color-white);
}

.badge--warning {
  background: var(--color-warning);
  color: var(--color-white);
}

.badge--error {
  background: var(--color-error);
  color: var(--color-white);
}

/* ==========================================
   Component: Team Member
   ========================================== */
.team-member {
  text-align: center;
  padding: var(--spacing-8);
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  height: 100%;
}

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

.team-member__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50% !important;
  margin: 0 auto var(--spacing-6);
  background: linear-gradient(45deg, var(--color-gray-200), var(--color-gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  color: var(--color-gray-500);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

/* 确保所有头像相关图片都显示为圆形 */
img[alt*="CEO"],
img[alt*="CTO"],
img[alt*="CFO"] {
  border-radius: 50% !important;
}

.team-member__name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-2);
  color: var(--color-gray-900);
}

.team-member__title {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-4);
}

.team-member__bio {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-6);
}

.team-member__social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3);
}

.team-member__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--color-gray-100);
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.team-member__social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==========================================
   Component: Certification Badge
   ========================================== */
.certification {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
}

.certification:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.certification__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-lg);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.certification__content {
  flex: 1;
}

.certification__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-2);
  color: var(--color-gray-900);
}

.certification__description {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-3);
}

.certification__date {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

/* ==========================================
   Component: Statistics
   ========================================== */
.statistics {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-8);
  text-align: center;
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
}

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

.statistics__number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-2);
  display: block;
}

.statistics__label {
  color: var(--color-gray-600);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--font-size-sm);
}

/* ==========================================
   Component: FAQ Accordion
   ========================================== */
.faq-accordion {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-base);
}

.faq-accordion__item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-accordion__item:last-child {
  border-bottom: none;
}

.faq-accordion__header {
  width: 100%;
  padding: var(--spacing-6);
  background: transparent;
  border: none;
  text-align: left;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-900);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-4);
}

.faq-accordion__header:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
}

.faq-accordion__header--active {
  background: var(--color-primary);
  color: var(--color-white);
}

.faq-accordion__icon {
  transition: transform var(--transition-fast);
  font-size: var(--font-size-xl);
}

.faq-accordion__header--active .faq-accordion__icon {
  transform: rotate(180deg);
}

.faq-accordion__content {
  padding: 0 var(--spacing-6) var(--spacing-6);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  display: none;
}

.faq-accordion__content--active {
  display: block;
}

/* ==========================================
   Component: Progress Bar
   ========================================== */
.progress {
  background: var(--color-gray-200);
  border-radius: var(--border-radius-full);
  height: 8px;
  overflow: hidden;
  margin-bottom: var(--spacing-4);
}

.progress__bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--border-radius-full);
  transition: width var(--transition-base);
  position: relative;
}

.progress__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progress-shimmer 2s infinite;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--spacing-2);
}

.progress__value {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

/* ==========================================
   Component: Tool Calculator
   ========================================== */
.calculator {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-10);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.calculator__header {
  text-align: center;
  margin-bottom: var(--spacing-10);
}

.calculator__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.calculator__description {
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

.calculator__form {
  display: grid;
  gap: var(--spacing-6);
}

.calculator__result {
  background: var(--color-gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-8);
  margin-top: var(--spacing-8);
  text-align: center;
  border: 2px solid var(--color-gray-200);
}

.calculator__result-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.calculator__result-value {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-2);
}

.calculator__result-description {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

/* ==========================================
   Component: Compliance Checker
   ========================================== */
.compliance-checker {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-10);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.compliance-checker__header {
  text-align: center;
  margin-bottom: var(--spacing-10);
}

.compliance-checker__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.compliance-checker__description {
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  max-width: 700px;
  margin: 0 auto;
}

.compliance-checker__step {
  background: var(--color-gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-8);
  margin-bottom: var(--spacing-6);
  border-left: 4px solid var(--color-primary);
}

.compliance-checker__step-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
}

.compliance-checker__step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.compliance-checker__step-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-900);
}

.compliance-checker__question {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  margin-bottom: var(--spacing-4);
  border: 2px solid var(--color-gray-200);
  transition: all var(--transition-fast);
}

.compliance-checker__question:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.compliance-checker__question-title {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.compliance-checker__options {
  display: grid;
  gap: var(--spacing-3);
}

.compliance-checker__option {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  border-radius: var(--border-radius-base);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.compliance-checker__option:hover {
  background: var(--color-gray-50);
}

.compliance-checker__option-input {
  accent-color: var(--color-primary);
}

.compliance-checker__option-label {
  color: var(--color-gray-700);
  cursor: pointer;
  flex: 1;
}

.compliance-checker__result {
  background: var(--color-gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-8);
  margin-top: var(--spacing-8);
  text-align: center;
  border: 2px solid var(--color-gray-200);
}

.compliance-checker__result-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.compliance-checker__result-score {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--spacing-4);
}

.compliance-checker__result-score--excellent {
  color: var(--color-success);
}

.compliance-checker__result-score--good {
  color: var(--color-info);
}

.compliance-checker__result-score--fair {
  color: var(--color-warning);
}

.compliance-checker__result-score--poor {
  color: var(--color-error);
}

.compliance-checker__result-description {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-6);
}

.compliance-checker__recommendations {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  text-align: left;
}

.compliance-checker__recommendations-title {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-4);
  color: var(--color-gray-900);
}

.compliance-checker__recommendations-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compliance-checker__recommendations-item {
  padding: var(--spacing-2) 0;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--color-gray-700);
}

.compliance-checker__recommendations-item:last-child {
  border-bottom: none;
}

.compliance-checker__recommendations-item::before {
  content: '→';
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  margin-right: var(--spacing-2);
}

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

@keyframes placeholder-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes loading-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes progress-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  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);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================
   Animation Utilities
   ========================================== */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

.animate-slide-in-down {
  animation: slideInDown 0.6s ease-out;
}

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

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

.animate-zoom-in {
  animation: zoomIn 0.6s ease-out;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

.animate-delay-5 {
  animation-delay: 0.5s;
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .hero__title {
    font-size: var(--font-size-5xl);
  }
  
  .page-header__title {
    font-size: var(--font-size-5xl);
  }
  
  .calculator__title,
  .compliance-checker__title {
    font-size: var(--font-size-5xl);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .hero {
    padding: var(--spacing-24) 0;
  }
  
  .hero__title {
    font-size: 4rem;
  }
  
  .hero__subtitle {
    font-size: var(--font-size-2xl);
  }
  
  .hero__cta {
    flex-direction: row;
  }
  
  .form-container {
    padding: var(--spacing-12);
  }
  
  .calculator,
  .compliance-checker {
    padding: var(--spacing-12);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .header__nav {
    display: flex !important;
  }
  
  .navbar-toggler {
    display: none;
  }
  
  .hero__title {
    font-size: 5rem;
  }
  
  .page-header__title {
    font-size: 3.5rem;
  }
  
  .converter {
    padding: var(--spacing-12);
  }
  
  .calculator__form {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-8);
  }
  
  .compliance-checker__options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero__title {
    font-size: 6rem;
  }
  
  .calculator__form {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .compliance-checker__options {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra extra large devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  } 
}
.footer {
  font-size: 0.95rem;
  padding-bottom: 0.5rem !important;
}

.footer h6 {
  font-size: 0.9rem;
}

.footer .list-unstyled li { 
  margin-bottom: 0.25rem;
}

.footer .border-top { 
  border-top-width: 1px !important;
}
.back-to-top {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
}

.back-to-top i {
  color: #fff;
  font-size: 1rem;
}
.tools-section {
  background-color: var(--light-color);
}

.tool-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.tool-card h4 {
  margin: 0;
}

.tool-card p {
  color: var(--gray-600);
}

.currency-converter {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

#swap-currencies {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
}
.team-section {
  background-color: var(--light-color);
}

.team-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.team-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.team-avatar img {
  border-radius: 50% !important;
  width: 150px !important;
  height: 150px !important;
  object-fit: cover;
  display: block;
}
