/* 
==================================================
   CAREFOURCE SECURITY SERVICES LTD - DESIGN SYSTEM
==================================================
   Author: Antigravity AI
   Aesthetics: Premium, Modern, Secure, Trustworthy
================================================== 
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Custom Variables (Tokens) --- */
:root {
  --color-primary: #0A192F;      /* Deep Navy */
  --color-secondary: #0F2A4A;    /* Slate Blue */
  --color-accent: #D4AF37;       /* Premium Muted Gold */
  --color-accent-hover: #C5A029; /* Slightly Darker Gold */
  --color-dark: #0D1117;         /* Near Black / Charcoal */
  --color-light: #F8F9FA;        /* Off-white */
  --color-white: #FFFFFF;        /* Pure White */
  --color-gray: #6B7280;         /* Neutral Gray */
  --color-border: #E5E7EB;       /* Light border */
  
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 10px 30px rgba(197, 168, 128, 0.2);
  
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --container-width: 1280px;
  --header-height: 80px;
}

/* --- Base Styles & Resets --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

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

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

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

/* --- Accessibility & Focus states --- */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* --- Utility Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-padding-large {
  padding: 140px 0;
}

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

.bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--color-white);
}

.bg-light {
  background-color: var(--color-light);
}

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

.eyebrow {
  font-family: var(--font-title);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto 60px;
  color: var(--color-gray);
  font-size: 18px;
}

.bg-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

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

.btn-icon {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --- Navigation / Sticky Header --- */
header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  background-color: transparent;
  padding: 0;
}

header.scrolled {
  top: 12px;
  padding: 0;
}

header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: var(--radius-full);
  padding: 14px 32px;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.08);
  transition: var(--transition-normal);
}

header.scrolled .nav-container {
  padding: 8px 24px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.12);
  border-color: rgba(197, 168, 128, 0.35);
}

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

.logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.logo-text span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  white-space: nowrap;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: height var(--transition-normal);
}

header.scrolled .logo-img {
  height: 40px;
}

.footer-logo-img {
  height: 44px;
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(10, 25, 47, 0.85);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu styling */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--color-white);
  min-width: 280px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  pointer-events: none;
  z-index: 100;
  border: 1px solid var(--color-border);
}

.dropdown-item {
  margin-bottom: 4px;
}

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

.dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  background-color: var(--color-light);
  color: var(--color-accent);
  padding-left: 20px;
}

/* Call support header info */
.nav-support {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-support .btn {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  text-align: right;
  white-space: nowrap;
}

.nav-phone span {
  font-size: 7.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  font-weight: 700;
  white-space: nowrap;
}

.nav-phone a {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1100;
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  transition: var(--transition-normal);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

.hamburger.active span {
  background-color: var(--color-white);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  overflow: hidden;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 30%, rgba(10, 25, 47, 0.4) 100%);
  z-index: 2;
}

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

.hero-content {
  max-width: 750px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-desc {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero entrance keyframes */
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Trust Strip --- */
.trust-strip {
  background-color: var(--color-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  position: relative;
  z-index: 10;
  margin-top: 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-item svg {
  color: var(--color-accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 160px;
}

.badge-num {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.badge-lbl {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-text {
  font-size: 16px;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.about-features {
  margin: 32px 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--color-accent);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-icon svg {
  width: 14px;
  height: 14px;
}

.about-feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 14px;
  color: var(--color-gray);
}

/* --- Services Cards Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-accent);
  transition: var(--transition-normal);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--color-primary);
  transition: var(--transition-normal);
}

.service-card-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  transition: var(--transition-normal);
}

.service-card p {
  color: var(--color-gray);
  font-size: 15px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.2);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-card-icon {
  background-color: var(--color-primary);
  color: var(--color-accent);
}

.service-card:hover h3 {
  color: var(--color-accent);
}

.service-card:hover .service-card-link {
  color: var(--color-accent);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Featured Service Detail Sections --- */
.featured-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.featured-service-block:last-child {
  margin-bottom: 0;
}

.featured-service-block:nth-child(even) {
  direction: rtl;
}

.featured-service-block:nth-child(even) .featured-service-text-content {
  direction: ltr;
}

.featured-service-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.featured-service-image-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-service-image-box:hover img {
  transform: scale(1.05);
}

.featured-service-text-content h3 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.featured-service-text-content p {
  color: var(--color-gray);
  margin-bottom: 30px;
  font-size: 16px;
}

.featured-benefits {
  list-style: none;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.featured-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
}

.featured-benefit-item svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
}

/* --- Industries Grid Section --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.industry-card {
  height: 380px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 30px;
  color: var(--color-white);
}

.industry-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(360deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 60%, transparent 100%);
  z-index: 1;
}

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

.industry-card-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-card-icon svg {
  width: 20px;
  height: 20px;
}

.industry-card h3 {
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.industry-card-btn {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.industry-card-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.industry-card:hover .industry-card-bg {
  transform: scale(1.08);
}

.industry-card:hover p {
  opacity: 1;
  height: auto;
  margin-bottom: 20px;
}

.industry-card:hover .industry-card-btn {
  opacity: 1;
}

.industry-card:hover .industry-card-btn svg {
  transform: translateX(4px);
}

/* --- Why Choose Us Section --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.why-feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.why-feature-card-num {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: block;
}

.why-feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.why-feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.why-feature-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

/* --- Our Process (Timeline) --- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 60px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.timeline-step {
  width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.timeline-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 13px;
  color: var(--color-gray);
}

.timeline-step:hover .timeline-step-icon {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

/* --- Statistics Section --- */
.stats-strip {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-title);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Testimonials Section (Carousel) --- */
.testimonial-section {
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.carousel-slide {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 60px 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--color-primary);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.5;
}

.testimonial-client {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.testimonial-job {
  font-size: 12px;
  color: var(--color-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--color-primary);
  background-color: var(--color-white);
}

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

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--color-accent);
  width: 24px;
}

/* --- Call To Action (CTA Banner) --- */
.cta-banner {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

/* --- Forms (Quote & Contact) --- */
.form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 50px;
  border: 1px solid var(--color-border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-light);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

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

.form-notice {
  font-size: 13px;
  color: var(--color-gray);
  margin-bottom: 24px;
}

.form-submit-btn {
  width: 100%;
}

/* Success & Error State Notifications */
.form-feedback {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  padding-right: 20px;
}

.faq-icon-box {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-icon-box svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-normal);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1);
  padding: 0 30px;
}

.faq-content-inner {
  padding-bottom: 24px;
  color: var(--color-gray);
  font-size: 15px;
}

.faq-item.active {
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-header {
  background-color: var(--color-light);
}

.faq-item.active .faq-header h3 {
  color: var(--color-accent);
}

.faq-item.active .faq-icon-box {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.faq-item.active .faq-icon-box svg {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  max-height: 500px; /* High enough value for dynamic expand */
  transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0);
}

/* --- Resources / Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-img-box {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  z-index: 2;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.blog-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-gray);
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta svg {
  width: 14px;
  height: 14px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.blog-card p {
  font-size: 14px;
  color: var(--color-gray);
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.blog-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.2);
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card:hover h3 {
  color: var(--color-accent);
}

.blog-card:hover .blog-btn svg {
  transform: translateX(4px);
}

/* --- Footer Section --- */
footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-about .logo {
  display: inline-flex;
  background-color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  max-width: fit-content;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.footer-about .logo:hover {
  transform: translateY(-2px);
}

.footer-about p {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-info svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-info span {
  color: var(--color-white);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--color-accent);
}

/* --- Floating Mobile CTA --- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: none; /* Controlled on mobile viewports */
}

.floating-cta-btn {
  background-color: var(--color-accent);
  color: var(--color-primary);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulsePulse 2s infinite;
}

.floating-cta-btn svg {
  width: 24px;
  height: 24px;
}

@keyframes pulsePulse {
  0% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(197, 168, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

/* --- Page-Specific Subcomponents (Services, Contact, About) --- */
.inner-hero {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.8) 0%, var(--color-primary) 100%);
}

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

.inner-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span {
  color: var(--color-accent);
}

/* Contact information block page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.contact-info-panel h2 {
  margin-bottom: 20px;
}

.contact-info-panel p {
  color: var(--color-gray);
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-details-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 168, 128, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(197, 168, 128, 0.2);
}

.contact-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.contact-text-box h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-text-box p {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-text-box a:hover {
  color: var(--color-accent);
}

.map-placeholder {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  text-align: center;
  padding: 20px;
}

.map-placeholder svg {
  margin-bottom: 12px;
  color: var(--color-accent);
}

/* Service details layout template */
.service-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.service-main-content h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.service-main-content p {
  color: var(--color-gray);
  margin-bottom: 24px;
  font-size: 16px;
}

.service-illustration {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 30px;
  border-radius: var(--radius-md);
}

.sidebar-widget h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.services-nav-list {
  list-style: none;
}

.services-nav-list li {
  margin-bottom: 8px;
}

.services-nav-list li:last-child {
  margin-bottom: 0;
}

.services-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.services-nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.services-nav-link:hover, .services-nav-link.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.services-nav-link:hover svg {
  transform: translateX(4px);
}

.services-nav-link.active svg {
  color: var(--color-accent);
}

.cta-widget {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  border: none;
}

.cta-widget h3 {
  color: var(--color-white);
}

.cta-widget h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.cta-widget p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Values styling about page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 168, 128, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--color-gray);
}

/* --- Responsive Media Queries (Mobile & Tablet layouts) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  header.scrolled .logo-img {
    height: 36px;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .section-padding-large {
    padding: 100px 0;
  }

  .about-grid, .why-grid, .featured-service-block, .contact-page-grid, .service-details-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .featured-service-block:nth-child(even) {
    direction: ltr; /* Reset alternate alignment on tablet */
  }

  .about-img-box {
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .about-img-badge {
    bottom: -15px;
    right: -15px;
    padding: 20px;
    min-width: 130px;
  }
  
  .about-img-badge .badge-num {
    font-size: 24px;
  }
  
  .featured-service-image-box img {
    height: 380px;
  }
  
  .why-features-grid {
    gap: 20px;
  }

  .timeline {
    flex-direction: column;
    margin: 40px 0;
    padding-left: 30px;
  }

  .timeline::after {
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
  }

  .timeline-step {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 30px;
    gap: 20px;
  }
  
  .timeline-step:last-child {
    margin-bottom: 0;
  }

  .timeline-step-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  header .nav-container {
    padding: 10px 20px;
  }

  /* Navigation menu mobile - collapsed at 1024px */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 16px;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .nav-link::after {
    display: none;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: auto;
    width: 100%;
    box-shadow: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding: 8px 16px;
  }

  .dropdown-link {
    color: rgba(255, 255, 255, 0.7);
  }

  .dropdown-link:hover {
    background-color: transparent;
    color: var(--color-accent);
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-support {
    display: none;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .testimonial-card {
    padding: 40px 24px;
  }
  
  .form-card {
    padding: 30px 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .floating-cta {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  
  .logo-img {
    height: 34px;
  }
  
  header.scrolled .logo-img {
    height: 30px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-img-badge {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
}

/* --- Reduced Motion Accessibility Preferences --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-content {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .industry-card-bg, .service-card, .blog-card img, .featured-service-image-box img {
    transition: none !important;
    transform: none !important;
  }
}

/* --- Modern Premium Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  opacity: 1;
  visibility: visible;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.preloader-logo {
  height: 60px;
  width: auto;
  animation: preloaderPulse 2s infinite ease-in-out;
  background-color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.preloader-loader {
  width: 140px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.preloader-loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  border-radius: var(--radius-full);
  animation: preloaderLine 1.5s infinite ease-in-out;
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes preloaderLine {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
