/* Custom Design System for FAS International Website Redesign */
:root {
  /* Official Brand Palette from Logo */
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  
  --primary-blue: #0081dd;
  --primary-blue-hover: #006ab5;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  
  --primary-green: #00a844;
  --primary-green-hover: #008736;
  --green-light: #f0fdf4;
  --green-border: #bbf7d0;
  
  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --red-light: #fef2f2;
  --red-border: #fecaca;

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  
  --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-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

body {
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Brand Utility Classes */
.brand-blue { color: var(--primary-blue); }
.brand-green { color: var(--primary-green); }
.brand-red { color: var(--primary-red); }

.bg-brand-blue { background-color: var(--primary-blue); }
.bg-brand-green { background-color: var(--primary-green); }
.bg-brand-red { background-color: var(--primary-red); }

.gradient-badge-blue {
  background: linear-gradient(135deg, rgba(0, 129, 221, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid var(--blue-border);
  color: var(--primary-blue);
}

.gradient-badge-green {
  background: linear-gradient(135deg, rgba(0, 168, 68, 0.1) 0%, rgba(34, 197, 94, 0.15) 100%);
  border: 1px solid var(--green-border);
  color: var(--primary-green);
}

.gradient-badge-red {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
  border: 1px solid var(--red-border);
  color: var(--primary-red);
}

.btn-primary-blue {
  background-color: var(--primary-blue);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 129, 221, 0.25);
}
.btn-primary-blue:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 129, 221, 0.35);
}

.btn-primary-green {
  background-color: var(--primary-green);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 168, 68, 0.25);
}
.btn-primary-green:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 168, 68, 0.35);
}

.btn-primary-red {
  background-color: var(--primary-red);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.btn-primary-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.btn-outline-brand {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline-brand:hover {
  background-color: var(--blue-light);
  color: var(--primary-blue-hover);
  transform: translateY(-2px);
}

/* Service Card Hover Accent */
.service-card {
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-white);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.service-card.blue-accent::before { background: var(--primary-blue); }
.service-card.green-accent::before { background: var(--primary-green); }
.service-card.red-accent::before { background: var(--primary-red); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

/* Header & Navigation */
.top-bar {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
}

header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

/* Section Decorators */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* Hero Glow Effects */
.hero-glow-blue {
  position: absolute;
  top: -20%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 129, 221, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-green {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 168, 68, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

/* Tab Navigation */
.industry-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.25s ease;
}

.industry-tab.active {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 129, 221, 0.2);
}

.industry-tab:hover:not(.active) {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-white);
  border-radius: 1.25rem;
  max-width: 650px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Timeline Custom Styles */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px dashed var(--border-light);
}

.timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
