/*
Theme Name: Falmco Corporate Theme
Theme URI: https://falmco.com
Description: A high-performance industrial corporate theme converted from Next.js.
Version: 2.0.0
Author: Falmco Design Team
Author URI: https://falmco.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: falmco
Tags: industrial, corporate, business, clean, modern, tailwind
*/

/* ===== RESET & BASE STYLES ===== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "ss01", "ss02", "cv01", "cv02";
  background-color: #ffffff;
  color: #18181b;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
}

p {
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1rem;
}

a {
  color: #0052cc;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0041a3;
}

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== ENTRY CONTENT ===== */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #3f3f46;
}

.entry-content p {
  margin-bottom: 2rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #09090b;
}

.entry-content h2 {
  font-size: 2.25rem;
}

.entry-content h3 {
  font-size: 1.875rem;
}

.entry-content blockquote {
  border-left: 4px solid #dc2626;
  padding-left: 1.5rem;
  font-style: italic;
  color: #18181b;
  margin: 3rem 0;
  background: rgba(220, 38, 38, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.entry-content ul,
.entry-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* ===== HEADER STYLES ===== */
.site-header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 100%;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-branding img {
  height: 50px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #09090b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.site-title a {
  color: #09090b;
}

.site-title a:hover {
  color: #0052cc;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: #18181b;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #0052cc;
}

.main-navigation .current-menu-item > a {
  color: #0052cc;
  border-bottom: 2px solid #0052cc;
  padding-bottom: 0.25rem;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-navigation li {
    border-bottom: 1px solid #f4f4f5;
    width: 100%;
  }

  .main-navigation a {
    display: block;
    padding: 1rem 2rem;
  }
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: #09090b;
  color: #e4e4e7;
  padding: 4rem 2rem;
  margin-top: 0; /* removed margin-top so dark sections connect cleanly */
}

.footer-widgets {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-widget {
  color: #a1a1a6;
}

.footer-widget h3 {
  color: #fafafa;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

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

.footer-widget li {
  margin-bottom: 0.75rem;
}

.footer-widget a {
  color: #a1a1a6;
  transition: color 0.3s ease;
}

.footer-widget a:hover {
  color: #0052cc;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #0052cc;
  font-weight: 600;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 82, 204, 0.1);
  border-radius: 50%;
  color: #0052cc;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #0052cc;
  color: white;
  transform: translateY(-2px);
}

/* ===== FOOTER BOTTOM ===== */
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #71717a;
  font-size: 0.875rem;
}

.site-footer-bottom p {
  margin: 0.5rem 0;
}

/* ===== RTL SUPPORT ===== */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .site-header-inner {
  flex-direction: row-reverse;
}

body.rtl .main-navigation {
  flex-direction: row-reverse;
}

body.rtl .entry-content blockquote {
  border-left: none;
  border-right: 4px solid #dc2626;
  padding-left: 0;
  padding-right: 1.5rem;
}

/* ===== HERO SECTION ANIMATIONS ===== */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-100px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-30px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0);      max-height: 500px; }
}

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

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
  50%       { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
}

@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position:  1000px 0; }
}

@keyframes expand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ===== ANIMATION CLASSES ===== */
.animate-slide-in-left  { animation: slideInLeft  0.8s ease-out; }
.animate-slide-in-right { animation: slideInRight 0.8s ease-out 0.2s backwards; }
.animate-float          { animation: float        6s ease-in-out infinite; }
.animate-float-slow     { animation: floatSlow    8s ease-in-out infinite; }
.animate-fade-in        { animation: fadeIn       0.6s ease-out; }
.animate-slide-down     { animation: slideDown    0.3s ease-out; }
.animate-slide-up       { animation: slideUp      0.6s ease-out; }
.animate-scale-in       { animation: scaleIn      0.5s ease-out; }
.animate-spin-slow      { animation: rotate       20s linear infinite; }
.animate-pulse          { animation: pulse        2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-glow           { animation: glow         2s ease-in-out infinite; }
.animate-bounce-slow    { animation: bounce-slow  2s ease-in-out infinite; }
.animate-expand         { animation: expand       0.8s ease-out; }

.typewriter-text {
  overflow: hidden;
  border-right: 3px solid rgba(59, 130, 246, 0.5);
  white-space: nowrap;
  animation: typing 3s steps(50, end) forwards, blink 0.75s step-end infinite;
}

/* ===== PARTICLE EFFECTS ===== */
.particle { animation: float 15s infinite ease-in-out; }
.particle:nth-child(1) { top: 10%; left: 10%;  animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.particle:nth-child(3) { top: 30%; right: 30%; animation-delay: 4s; }
.particle:nth-child(4) { bottom: 20%; left: 20%; animation-delay: 1s; }
.particle:nth-child(5) { top: 50%; left: 5%;   animation-delay: 3s; }
.particle:nth-child(6) { bottom: 10%; right: 20%; animation-delay: 1.5s; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Transition delay utilities used via data-delay attribute (set inline via JS) */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* Legacy reveal classes kept for backward compatibility */
.reveal.is-visible       { opacity: 1; transform: translateY(0); }
.reveal-delayed          { transition-delay: 0.2s; }
.reveal-stagger-1        { transition-delay: 0.1s; }
.reveal-stagger-2        { transition-delay: 0.4s; }
.reveal-stagger-3        { transition-delay: 0.6s; }
.reveal-stagger-4        { transition-delay: 0.8s; }
.hero-badge              { animation: slideDown 0.8s ease-out; }

/* ===== CARD ANIMATIONS ===== */
.why-choose-card,
.stat-card,
.core-value-card,
.service-card,
.sector-card,
.hub-card,
.client-card,
.faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-card:hover,
.stat-card:hover,
.core-value-card:hover,
.service-card:hover,
.sector-card:hover,
.hub-card:hover,
.client-card:hover {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CARD GLOW (dark sections) ===== */
.card-glow:hover {
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.25), 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== COUNTER ANIMATION ===== */
@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.counter-val { animation: countUp 0.5s ease-out; }

/* ===== CTA BUTTON ANIMATIONS ===== */
.cta-button { position: relative; overflow: hidden; }
.cta-button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}
.cta-button:hover::before { left: 100%; }

/* ===== SMOOTH TRANSITIONS ===== */
a      { transition: color 0.3s ease, border-color 0.3s ease; }
button { transition: all 0.3s ease; }

/* ===== FORM STYLES ===== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

/* ===== BUTTON STYLES ===== */
button,
.button,
.wp-block-button__link {
  padding: 0.75rem 1.5rem;
  background: #0052cc;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}
button:hover,
.button:hover,
.wp-block-button__link:hover {
  background: #0041a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* ===== TABLE STYLES ===== */
table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
table th, table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e4e4e7; }
table th { background: #f4f4f5; font-weight: 600; }

/* ===== CODE STYLES ===== */
code {
  background: #f4f4f5;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}
pre {
  background: #09090b;
  color: #e4e4e7;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}
pre code { background: none; padding: 0; color: inherit; }

/* ===== RESPONSIVE ANIMATIONS ===== */
@media (max-width: 768px) {
  .typewriter-text {
    animation: typing 2s steps(30, end) forwards, blink 0.75s step-end infinite;
  }
  .hero-badge { font-size: 0.75rem; }
  .animate-slide-in-left  { animation: slideInLeft  0.6s ease-out; }
  .animate-slide-in-right { animation: slideInRight 0.6s ease-out 0.15s backwards; }
  .reveal { animation: fadeIn 0.6s ease-out forwards; }
  .reveal-stagger-1 { transition-delay: 0.05s; }
  .reveal-stagger-2 { transition-delay: 0.1s; }
  .reveal-stagger-3 { transition-delay: 0.15s; }
  .site-header-inner { padding: 1rem; }
  .main-navigation ul { gap: 1rem; }
  .main-navigation a { padding: 0.75rem 1rem; font-size: 0.875rem; }
  .footer-widgets { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .animate-float      { animation: float     6s ease-in-out infinite; }
  .animate-float-slow { animation: floatSlow 8s ease-in-out infinite; }
  .typewriter-text    { border-right: 2px solid rgba(59, 130, 246, 0.5); }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  .site-header-inner { flex-wrap: wrap; }
  .main-navigation { width: 100%; }
  .menu-toggle { margin-left: auto; }
}

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

/* ===== ACCESSIBILITY ===== */
:focus { outline: 2px solid #0052cc; outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #0052cc; outline-offset: 2px; }
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: #0052cc; color: white;
  padding: 0.5rem 1rem; text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 0; }

/* ===== PLACEHOLDER ANIMATIONS ===== */
::placeholder { transition: color 0.3s ease; }
input:focus::placeholder { color: transparent; }

/* ===== LOADING STATE ===== */
.loading { pointer-events: none; opacity: 0.6; }
.loading::after { content: ''; animation: pulse 1.5s ease-in-out infinite; }
.spinner {
  display: inline-block;
  width: 40px; height: 40px;
  border: 4px solid rgba(0, 82, 204, 0.1);
  border-radius: 50%;
  border-top-color: #0052cc;
  animation: rotate 1s linear infinite;
}

/* ===== PRINT STYLES ===== */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header, .site-footer, .menu-toggle { display: none; }
  body { font-size: 12pt; line-height: 1.5; }
  a { text-decoration: underline; }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #f4f4f5; }
::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a6; }
* { scrollbar-color: #d4d4d8 #f4f4f5; scrollbar-width: thin; }

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

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ===== WORDPRESS BLOCKS ===== */
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-quote { border-left: 4px solid #0052cc; padding-left: 1.5rem; margin: 2rem 0; font-style: italic; }
.wp-block-separator { border: none; border-top: 1px solid #e4e4e7; margin: 2rem 0; }

/* ===== CUSTOM UTILITIES ===== */
.mx-auto    { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }
.mt-large    { margin-top: 4rem; }
.mb-large    { margin-bottom: 4rem; }
.py-large    { padding-top: 4rem; padding-bottom: 4rem; }
.shadow-lg   { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); }
.rounded-lg  { border-radius: 0.5rem; }
.rounded-xl  { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.opacity-50  { opacity: 0.5; }
.opacity-75  { opacity: 0.75; }
.transition-all { transition: all 0.3s ease; }

/* =============================================================
   NEW IN V2.0 — FRONT PAGE ENHANCED COMPONENTS
   ============================================================= */

/* ---- CSS Custom Properties ---- */
:root {
  --falmco-blue:    #0052CC;
  --falmco-blue-lt: #2563eb;
  --falmco-red:     #FF0000;
  --falmco-red-dk:  #cc0000;
  --falmco-dark:    #0a0a0a;
}

/* ---- Preloader ---- */
#falmco-preloader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#falmco-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.preloader-logo {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.preloader-logo span { color: var(--falmco-blue-lt); }
.preloader-bar-wrap {
  width: 240px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--falmco-blue-lt), var(--falmco-red));
  border-radius: 99px;
  animation: preload-fill 1.8s ease forwards;
}
@keyframes preload-fill {
  from { width: 0; }
  to   { width: 100%; }
}
.preloader-text {
  margin-top: 0.75rem;
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--falmco-blue-lt), var(--falmco-red));
  z-index: 99998;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---- Back To Top Button ---- */
#back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--falmco-blue-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--falmco-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
}

/* ---- Floating Action Buttons ---- */
#fab-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9000;
}
.fab-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
.fab-btn.whatsapp { background: #25D366; }
.fab-btn.whatsapp:hover {
  background: #1fad55;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.fab-btn.phone { background: var(--falmco-blue-lt); }
.fab-btn.phone:hover {
  background: var(--falmco-blue);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}
.fab-label {
  position: absolute;
  right: 68px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fab-btn:hover .fab-label { opacity: 1; }

/* ---- Announcement Bar ---- */
#announcement-bar {
  background: linear-gradient(90deg, var(--falmco-blue), var(--falmco-blue-lt), var(--falmco-blue));
  background-size: 200% 100%;
  animation: bar-shimmer 4s linear infinite;
  color: #fff;
  text-align: center;
  padding: 0.6rem 3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 9997;
  overflow: hidden;
}
@keyframes bar-shimmer {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}
#announcement-bar .close-bar {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}
#announcement-bar .close-bar:hover { color: #fff; }

/* ---- Process / How We Work section ---- */
.process-connector {
  position: absolute;
  top: 2rem;
  left: calc(50% + 3rem);
  width: calc(100% - 6rem);
  height: 2px;
  background: linear-gradient(90deg, var(--falmco-blue-lt), transparent);
  pointer-events: none;
}
@media (max-width: 1023px) {
  .process-connector { display: none; }
}

/* ---- Testimonial Carousel ---- */
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-slide { min-width: 100%; }
.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.testimonial-dot.active {
  background: var(--falmco-blue-lt);
  width: 24px;
}
.star-filled { color: #facc15; }

/* ---- FAQ Accordion ---- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-chevron { transition: transform 0.3s ease; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-item.active { border-color: var(--falmco-blue-lt) !important; }

/* ---- Awards & Certifications cards ---- */
.award-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(255, 0, 0, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.25);
  transition: all 0.4s ease;
}
.award-card:hover {
  border-color: rgba(37, 99, 235, 0.7);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

/* ---- Clients Ticker / Marquee ---- */
.ticker-wrap { overflow: hidden; }
.ticker-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Gradient text utility (CTA section) ---- */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, var(--falmco-blue-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Responsive adjustments for new components ---- */
@media (max-width: 768px) {
  #back-to-top { bottom: 5.5rem; right: 1rem; width: 42px; height: 42px; }
  #fab-container { bottom: 1rem; right: 1rem; }
  .fab-btn { width: 48px; height: 48px; }
  .fab-label { display: none; } /* hide labels on mobile — space is tight */
  #announcement-bar { font-size: 0.6rem; padding: 0.5rem 2.5rem; }
  .testimonial-track { touch-action: pan-y; }
}