/**
* Name: main.css
* Project: Finest Finish Painting
* Updated: 05.25.2026
* Author: Faro Digital Studio
*
* Notes:
* - Streamlined custom CSS for the current one-page Finest Finish Painting build.
* - Keeps BootstrapMade/iConstruction JS hooks intact: fixed header scroll state,
*   mobile nav, preloader, scroll top, AOS, and GLightbox.
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Brand System
--------------------------------------------------------------*/
:root {
  /* Business card palette */
  --ffp-blue: #446075;
  --ffp-blue-dark: #32424c;
  --ffp-navy: #28333a;
  --ffp-charcoal: #2f3d46;
  --ffp-slate: #4c5f6c;
  --ffp-muted: #99a2a8;
  --ffp-silver: #bac3c7;
  --ffp-off-white: #f1f3f3;
  --ffp-white: #ffffff;

  /* Site tokens */
  --background-color: #ffffff;
  --surface-color: #ffffff;
  --default-color: #33414a;
  --heading-color: #28333a;
  --accent-color: var(--ffp-blue);
  --contrast-color: #ffffff;

  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --brand-font: "Cinzel", Georgia, serif;
  --nav-font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --utility-font: "Oswald", "Roboto Condensed", Arial, sans-serif;

  --nav-color: rgba(255, 255, 255, 0.92);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-color: var(--ffp-navy);
  --nav-dropdown-hover-color: var(--ffp-blue);

  --border-soft: rgba(40, 51, 58, 0.12);
  --shadow-soft: 0 18px 45px rgba(40, 51, 58, 0.12);
  --shadow-card: 0 14px 36px rgba(40, 51, 58, 0.09);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  scroll-behavior: smooth;
}

.light-background {
  --background-color: #f4f6f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: var(--ffp-navy);
  --default-color: rgba(255, 255, 255, 0.88);
  --heading-color: #ffffff;
  --surface-color: var(--ffp-charcoal);
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

body {
  color: var(--default-color);
  background: var(--background-color);
  font-family: var(--default-font);
  line-height: 1.65;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--ffp-blue-dark);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.18;
}

p {
  margin-top: 0;
}

img {
  max-width: 100%;
}

.accent-text {
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 -0.38em 0 rgba(68, 96, 117, 0.55);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ffp-blue);
  font-family: var(--utility-font);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dark-background .eyebrow {
  color: var(--ffp-off-white);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  color: var(--ffp-blue);
  font-weight: 700;
}

.cta-link:hover {
  color: var(--ffp-blue-dark);
}

i[class^="bi"],
i[class*=" bi-"] {
  color: var(--ffp-blue);
  line-height: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(40, 51, 58, 0);
  color: #ffffff;
  background: var(--background-color);
  padding: 16px 0;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 997;
}

.scrolled .header {
  --background-color: rgba(40, 51, 58, 0.96);
  padding: 10px 0;
  box-shadow: 0 10px 28px rgba(40, 51, 58, 0.26);
  backdrop-filter: blur(8px);
}

.header .logo {
  line-height: 1;
  min-width: 0;
}

.header .logo img {
  max-height: 42px;
  margin-right: 10px;
}

.header .logo h1,
.header .logo .sitename {
  margin: 0;
  color: #ffffff;
  font-family: var(--brand-font);
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .header .logo h1,
  .header .logo .sitename {
    max-width: 245px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    color: var(--nav-color);
    font-family: var(--nav-font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #ffffff;
  }

  .navmenu li:hover > a::after,
  .navmenu .active::after {
    transform: scaleX(1);
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--ffp-silver);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #ffffff !important;
    font-size: 30px;
    line-height: 0;
    margin-left: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 18px auto 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    margin: 0;
    padding: 12px;
    list-style: none;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 70px rgba(40, 51, 58, 0.28);
  }

  .navmenu a,
  .navmenu a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    color: var(--ffp-navy);
    font-family: var(--nav-font);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--ffp-blue);
    background: rgba(68, 96, 117, 0.08);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 9999;
    margin-right: 0;
    color: #ffffff !important;
    font-size: 32px;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: rgba(40, 51, 58, 0.82);
    transition: 0.25s ease;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background: var(--background-color);
  padding: 74px 0;
  scroll-margin-top: 78px;
  overflow: clip;
}

@media (max-width: 768px) {
  section,
  .section {
    padding: 58px 0;
    scroll-margin-top: 66px;
  }
}

.section-title {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 42px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-title h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 112px;
  height: 1px;
  background: rgba(68, 96, 117, 0.25);
  transform: translateX(-50%);
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 44px;
  height: 3px;
  background: var(--ffp-blue);
  transform: translateX(-50%);
}

.section-title p {
  margin: 0 auto;
  color: rgba(51, 65, 74, 0.78);
  font-size: 1.05rem;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn,
.primary-cta,
.action-buttons a,
.footer .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 5px;
  font-family: var(--nav-font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary,
.primary-cta,
.action-buttons .btn-primary {
  background: var(--ffp-blue);
  border: 2px solid var(--ffp-blue);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(68, 96, 117, 0.28);
}

.btn-primary:hover,
.primary-cta:hover,
.action-buttons .btn-primary:hover {
  background: var(--ffp-blue-dark);
  border-color: var(--ffp-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(50, 66, 76, 0.32);
}

.btn-secondary,
.action-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.btn-secondary:hover,
.action-buttons .btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ffp-blue-dark);
  transform: translateY(-2px);
}

.btn-primary i,
.primary-cta i,
.action-buttons .btn-primary i {
  color: #ffffff;
}

.btn-secondary i,
.action-buttons .btn-secondary i {
  color: currentColor;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 94px;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(186, 195, 199, 0.16), transparent 32%),
    linear-gradient(135deg, var(--ffp-blue) 0%, var(--ffp-charcoal) 52%, var(--ffp-navy) 100%);
}

.hero .hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero .hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(0.94) brightness(0.58);
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(40, 51, 58, 0.68) 0%, rgba(40, 51, 58, 0.78) 55%, rgba(40, 51, 58, 0.92) 100%),
    radial-gradient(circle at center, rgba(68, 96, 117, 0.28), rgba(40, 51, 58, 0.18));
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero .hero-content {
  max-width: 840px;
  margin: 0 auto;
}

.hero .hero-content h1 {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(2.45rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero .hero-content p {
  max-width: 720px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(241, 243, 243, 0.25);
  border-radius: 999px;
  font-family: var(--utility-font);
  font-size: 0.88rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .hero {
    min-height: 86vh;
    padding-top: 118px;
    padding-bottom: 68px;
  }

  .hero .hero-actions .btn {
    width: 100%;
    max-width: 270px;
  }

  .service-pills span {
    font-size: 0.78rem;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding-bottom: 78px;
}

.services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 34px;
}

.services .service-item {
  position: relative;
  height: 100%;
  padding: 30px;
  background: var(--surface-color);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(40, 51, 58, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services .service-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ffp-blue);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  opacity: 0.82;
}

.services .service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(68, 96, 117, 0.28);
  box-shadow: var(--shadow-card);
}

.services .service-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ffp-navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.services .service-item h3 i {
  flex: 0 0 auto;
  color: var(--ffp-blue);
  font-size: 1.25rem;
}

.services .service-item p {
  margin: 0;
  color: rgba(51, 65, 74, 0.78);
  font-size: 0.98rem;
}

.services .services-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(68, 96, 117, 0.08), rgba(186, 195, 199, 0.18)),
    #ffffff;
  border: 1px solid rgba(68, 96, 117, 0.18);
  border-radius: var(--radius-md);
}

.services .services-footer h4 {
  margin-bottom: 6px;
  color: var(--ffp-navy);
  font-size: 1.35rem;
  font-weight: 800;
}

.services .services-footer p {
  margin: 0;
  color: rgba(51, 65, 74, 0.76);
}

@media (max-width: 991px) {
  .services .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services .services-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .services .services-grid {
    grid-template-columns: 1fr;
  }

  .services .service-item,
  .services .services-footer {
    padding: 24px;
  }
}

/*--------------------------------------------------------------
# Work / Gallery
--------------------------------------------------------------*/
.projects {
  background: #ffffff;
}

.projects .project-card {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 26px rgba(40, 51, 58, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.projects .project-image {
  display: block;
  height: 235px;
  overflow: hidden;
  background: var(--ffp-off-white);
}

.projects .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.projects .project-card:hover .project-image img {
  transform: scale(1.035);
  filter: saturate(0.92) contrast(0.98);
}

.projects .project-info {
  padding: 24px;
}

.projects .project-category {
  margin-bottom: 8px;
  color: var(--ffp-blue);
  font-family: var(--utility-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projects .project-title {
  margin-bottom: 10px;
  color: var(--ffp-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.projects .project-description {
  margin: 0;
  color: rgba(51, 65, 74, 0.76);
  font-size: 0.96rem;
}

.gallery-note .cta-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(68, 96, 117, 0.28);
}

.gallery-note .cta-link i {
  font-size: 1em;
}

/*--------------------------------------------------------------
# Details / Service Area / FAQ
--------------------------------------------------------------*/
.details {
  background:
    linear-gradient(180deg, #f4f6f7 0%, #ffffff 100%);
}

.service-area-card,
.faq-card,
.estimate-card,
.action-panel {
  height: 100%;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(40, 51, 58, 0.06);
}

.service-area-card h2,
.faq-card h2,
.estimate-card h3,
.action-panel h3 {
  margin-bottom: 14px;
  color: var(--ffp-navy);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.service-area-card p,
.faq-card p,
.estimate-card p,
.action-panel p {
  color: rgba(51, 65, 74, 0.78);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--ffp-blue-dark);
  background: rgba(68, 96, 117, 0.08);
  border: 1px solid rgba(68, 96, 117, 0.13);
  border-radius: 999px;
  font-family: var(--utility-font);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.small-note {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.accordion {
  --bs-accordion-border-color: rgba(40, 51, 58, 0.12);
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.18rem rgba(68, 96, 117, 0.16);
}

.accordion-item {
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid rgba(40, 51, 58, 0.12) !important;
  border-radius: 10px !important;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  padding: 16px 18px;
  color: var(--ffp-navy);
  background: #ffffff;
  font-weight: 800;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--ffp-blue-dark);
  background: rgba(68, 96, 117, 0.07);
}

.accordion-button::after {
  filter: grayscale(1);
  opacity: 0.7;
}

.accordion-body {
  padding: 0 18px 18px;
  color: rgba(51, 65, 74, 0.78);
}

/*--------------------------------------------------------------
# Estimate
--------------------------------------------------------------*/
.call-to-action {
  background: #ffffff;
}

.call-to-action .cta-header {
  margin-bottom: 42px;
}

.call-to-action .cta-header h2 {
  margin-bottom: 14px;
  color: var(--ffp-navy);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.call-to-action .cta-header p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(51, 65, 74, 0.78);
  font-size: 1.08rem;
}

.estimate-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.estimate-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(51, 65, 74, 0.82);
}

.estimate-list i {
  width: 1.15em;
  flex: 0 0 auto;
  margin-top: 0.25em;
  color: var(--ffp-blue);
  font-size: 1.05rem;
}

.action-panel .panel-content {
  margin-bottom: 28px;
}

.action-panel .panel-content p {
  margin-bottom: 22px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.call-to-action .action-panel .action-buttons .btn-secondary {
  background: #ffffff;
  border-color: rgba(68, 96, 117, 0.32);
  color: var(--ffp-blue-dark);
}

.call-to-action .action-panel .action-buttons .btn-secondary:hover {
  background: rgba(68, 96, 117, 0.08);
  border-color: var(--ffp-blue);
  color: var(--ffp-blue-dark);
}

.contact-quick {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(40, 51, 58, 0.1);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-row > i {
  margin-top: 3px;
  color: var(--ffp-blue);
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  color: rgba(51, 65, 74, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--ffp-navy);
  font-weight: 800;
  word-break: break-word;
}

.contact-value:hover {
  color: var(--ffp-blue);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ffp-navy);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hides the larger footer promo block in the current HTML so the footer stays clean. */
.footer > .container:first-of-type {
  display: none;
}

.footer .footer-bottom {
  margin: 0;
  padding: 18px 0;
  border-top: 0;
}

.footer .footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer .sitename {
  color: #ffffff;
  font-family: var(--brand-font);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer .credits {
  text-align: right;
}

.footer .credits a {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer .credits a:hover {
  color: var(--ffp-silver);
  border-bottom-color: var(--ffp-silver);
}

@media (max-width: 768px) {
  .footer .footer-bottom-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer .credits {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Preloader + Scroll Top
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.6s ease-out;
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border: 6px solid rgba(68, 96, 117, 0.18);
  border-top-color: var(--ffp-blue);
  border-radius: 50%;
  animation: animate-preloader 1.1s linear infinite;
}

@keyframes animate-preloader {
  to {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  opacity: 0;
  color: #ffffff;
  background: var(--ffp-blue);
  border-radius: 6px;
  transition: all 0.25s ease;
}

.scroll-top i {
  color: #ffffff;
  font-size: 26px;
}

.scroll-top:hover {
  background: var(--ffp-blue-dark);
  transform: translateY(-2px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Accessibility + Motion
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
