/**
 * FASCO Pakistan - Core Design System & Base CSS
 *
 * Brand Color Palette:
 * Primary Red: #E00000
 * Black:       #111111
 * Dark:        #0B0B0B
 * White:       #FFFFFF
 * Light Gray:  #F7F7F7
 * Muted Gray:  #666666
 *
 * @package FASCO
 */

:root {
  --fasco-red: #E00000;
  --fasco-red-hover: #BF0000;
  --fasco-red-glow: rgba(224, 0, 0, 0.35);
  --fasco-red-light: rgba(224, 0, 0, 0.08);

  --fasco-black: #111111;
  --fasco-dark: #0B0B0B;
  --fasco-white: #FFFFFF;
  --fasco-light-gray: #F7F7F7;
  --fasco-muted-gray: #666666;
  --fasco-border-color: #E5E5E5;
  --fasco-border-dark: rgba(255, 255, 255, 0.12);

  --fasco-wa-green: #25D366;
  --fasco-wa-green-hover: #1EBE5D;

  --fasco-font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fasco-font-heading: 'Space Grotesk', var(--fasco-font-primary);

  --fasco-radius-sm: 6px;
  --fasco-radius-md: 10px;
  --fasco-radius-lg: 16px;
  --fasco-radius-full: 9999px;

  --fasco-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --fasco-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --fasco-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --fasco-shadow-red: 0 8px 24px rgba(224, 0, 0, 0.28);

  --fasco-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Industrial Dark Mode & Card System */
  --fasco-card-bg: #14171F;
  --fasco-card-bg-light: #F8FAFC;
  --fasco-card-border: rgba(255, 255, 255, 0.08);
  --fasco-card-border-light: #E2E8F0;
  --fasco-card-border-hover: rgba(224, 0, 0, 0.4);
  --fasco-text-muted: #8892B0;
  --fasco-text-dark: #1E293B;
  --fasco-text-secondary: #CBD5E1;
  --fasco-flame-amber: #F59E0B;
  --fasco-flame-gold: #EAB308;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fasco-font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fasco-black);
  background-color: var(--fasco-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--fasco-transition);
}

a:hover {
  color: var(--fasco-red);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--fasco-red) !important;
  outline-offset: 3px !important;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background-color: var(--fasco-white);
  border-radius: var(--fasco-radius-sm);
  box-shadow: var(--fasco-shadow-md);
  color: var(--fasco-red);
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 10px;
  padding: 12px 18px;
  text-decoration: none;
  top: 10px;
  width: auto;
  z-index: 100000;
}

/* Container */
.fasco-container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Section Shared Utilities */
.fasco-section {
  padding: 90px 0;
  position: relative;
}

.fasco-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.fasco-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--fasco-radius-full);
  background-color: var(--fasco-red-light);
  color: var(--fasco-red);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fasco-section-badge--dark {
  background-color: rgba(224, 0, 0, 0.16);
  color: #FF4A4A;
  border: 1px solid rgba(224, 0, 0, 0.3);
}

.fasco-section-title {
  font-family: var(--fasco-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fasco-black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.fasco-section-title--dark {
  color: var(--fasco-white);
}

.fasco-section-desc {
  font-size: 1.0625rem;
  color: var(--fasco-muted-gray);
  line-height: 1.6;
}

.fasco-section-desc--dark {
  color: #9E9E9E;
}

.fasco-text-red {
  color: var(--fasco-red);
}

/* Buttons System */
.fasco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--fasco-radius-sm);
  cursor: pointer;
  transition: var(--fasco-transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fasco-btn--primary {
  background-color: var(--fasco-red);
  color: var(--fasco-white);
  border: 1px solid var(--fasco-red);
}

.fasco-btn--primary:hover {
  background-color: var(--fasco-red-hover);
  border-color: var(--fasco-red-hover);
  color: var(--fasco-white);
  transform: translateY(-2px);
  box-shadow: var(--fasco-shadow-red);
}

.fasco-btn--glow {
  box-shadow: 0 4px 18px var(--fasco-red-glow);
}

.fasco-btn--outline {
  background-color: transparent;
  color: var(--fasco-black);
  border: 1.5px solid var(--fasco-black);
}

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

.fasco-btn--wa {
  background-color: var(--fasco-wa-green);
  color: var(--fasco-white);
  border: 1px solid var(--fasco-wa-green);
}

.fasco-btn--wa:hover {
  background-color: var(--fasco-wa-green-hover);
  border-color: var(--fasco-wa-green-hover);
  color: var(--fasco-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.fasco-btn--lg {
  padding: 16px 34px;
  font-size: 1rem;
}

.fasco-btn--sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* Floating FAB */
.fasco-floating-speed-dial {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.fasco-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--fasco-radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--fasco-transition);
  position: relative;
}

.fasco-fab--wa {
  background-color: var(--fasco-wa-green);
  color: var(--fasco-white);
  font-size: 30px;
}

.fasco-fab--wa:hover {
  background-color: var(--fasco-wa-green-hover);
  color: var(--fasco-white);
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.fasco-fab__tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--fasco-black);
  color: var(--fasco-white);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--fasco-radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--fasco-transition);
}

.fasco-fab:hover .fasco-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Back to Top */
.fasco-back-to-top {
  position: fixed;
  bottom: 100px;
  right: 34px;
  width: 44px;
  height: 44px;
  border-radius: var(--fasco-radius-full);
  background-color: var(--fasco-black);
  color: var(--fasco-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--fasco-transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fasco-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fasco-back-to-top:hover {
  background-color: var(--fasco-red);
  color: var(--fasco-white);
  transform: translateY(-3px);
}

/* ==========================================================================
   FASCO FOOTER STYLES
   ========================================================================== */

.fasco-footer {
  background-color: var(--fasco-dark);
  color: #A0AEC0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--fasco-red);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.fasco-footer a {
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--fasco-transition);
}

.fasco-footer a:hover {
  color: var(--fasco-red);
}

/* Pre-Footer CTA Strip */
.fasco-footer__cta-strip {
  background: linear-gradient(135deg, #1C0505 0%, #111111 60%, #160404 100%);
  border-bottom: 1px solid rgba(224, 0, 0, 0.25);
  padding: 34px 0;
  position: relative;
}

.fasco-footer__cta-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 0, 0, 0.6), transparent);
}

.fasco-footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.fasco-footer__cta-text h3 {
  color: var(--fasco-white);
  font-family: var(--fasco-font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.fasco-footer__cta-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin: 0;
}

.fasco-footer__cta-btn-wrap .fasco-btn--wa {
  background-color: var(--fasco-wa-green);
  color: var(--fasco-white);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--fasco-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: var(--fasco-transition);
  text-decoration: none;
}

.fasco-footer__cta-btn-wrap .fasco-btn--wa:hover {
  background-color: var(--fasco-wa-green-hover);
  color: var(--fasco-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Footer Main Grid */
.fasco-footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1.15fr 1.15fr 1.15fr 1.6fr;
  gap: 36px;
  padding: 60px 0 50px;
}

.fasco-footer__col {
  display: flex;
  flex-direction: column;
}

.fasco-footer__col--brand {
  padding-right: 15px;
}

.fasco-footer__logo-wrap {
  margin-bottom: 18px;
}

.fasco-footer__logo-link img {
  max-height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.fasco-footer__desc {
  color: #94A3B8;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.fasco-footer__accreditation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.fasco-footer__accreditation span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  border-radius: var(--fasco-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fasco-footer__accreditation span i {
  color: var(--fasco-red);
}

.fasco-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fasco-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fasco-white);
  font-size: 0.9375rem;
  transition: var(--fasco-transition);
}

.fasco-social-icon:hover {
  background: var(--fasco-red);
  color: var(--fasco-white);
  border-color: var(--fasco-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(224, 0, 0, 0.35);
}

/* Footer Section Headings */
.fasco-footer__title {
  color: var(--fasco-white);
  font-family: var(--fasco-font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.fasco-footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--fasco-red);
}

/* Footer Link Lists */
.fasco-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fasco-footer__links li a {
  color: #94A3B8;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--fasco-transition);
}

.fasco-footer__links li a i {
  font-size: 0.6875rem;
  color: var(--fasco-red);
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.fasco-footer__links li a:hover {
  color: var(--fasco-white);
  transform: translateX(4px);
}

.fasco-footer__links li a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Footer Contact Information */
.fasco-footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fasco-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
}

.fasco-footer__contact-item > i {
  color: var(--fasco-red);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.fasco-footer__contact-item div {
  display: flex;
  flex-direction: column;
}

.fasco-footer__contact-item strong {
  color: var(--fasco-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.fasco-footer__contact-item span,
.fasco-footer__contact-item a {
  color: #94A3B8;
  line-height: 1.5;
}

.fasco-footer__contact-item a:hover {
  color: var(--fasco-white);
}

/* Footer Bottom Bar */
.fasco-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  background: #070707;
}

.fasco-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.fasco-footer__copyright {
  color: #64748B;
  font-size: 0.8125rem;
  margin: 0;
}

.fasco-footer__copyright strong {
  color: #CBD5E1;
}

.fasco-footer__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fasco-footer__badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--fasco-radius-full);
}

