/*
  Galaxy Technology Canada Inc. - Core Design System
  Theme: Quantum Earth (Premium Dark High-Tech meets Earth Sustainability)
*/

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

:root {
  /* Colors */
  --bg-dark: #ffffff;         /* Pure white background as requested */
  --bg-card: rgba(255, 255, 255, 0.45); /* Glassmorphic card base background */
  --bg-card-hover: rgba(255, 255, 255, 0.65);
  --border-color: rgba(54, 106, 138, 0.1);
  --border-glow: rgba(54, 106, 138, 0.2);
  
  --primary: #366A8A;         /* Deep Slate Blue */
  --primary-glow: rgba(54, 106, 138, 0.1);
  --secondary: #61A2C7;       /* Mid Steel Blue */
  --secondary-glow: rgba(97, 162, 199, 0.1);
  --accent: #C9EAF9;          /* Ice Blue */
  --warmth: #e07a5f;          /* Terracotta Orange for human warmth accent */
  --warmth-glow: rgba(224, 122, 95, 0.1);
  
  --text-main: #1e293b;       /* Dark charcoal for high contrast body text */
  --text-muted: #475569;      /* Slate Gray for secondary description text */
  --text-dim: #64748b;        /* Light slate for labels and timestamps */
  --white: #ffffff;
  
  /* Glassmorphism custom variables */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(54, 106, 138, 0.12);
  --glass-border-hover: rgba(54, 106, 138, 0.25);
  --glass-blur: blur(12px) saturate(180%);
  --glass-shadow: 0 8px 32px 0 rgba(54, 106, 138, 0.04);
  
  /* Fonts */
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows & Blurs */
  --shadow-sm: 0 2px 6px rgba(54, 106, 138, 0.03);
  --shadow-md: 0 8px 24px rgba(54, 106, 138, 0.05);
  --shadow-lg: 0 16px 40px rgba(54, 106, 138, 0.08);
  --glow-teal: 0 0 20px rgba(97, 162, 199, 0.15);
  --glow-emerald: 0 0 20px rgba(54, 106, 138, 0.15);
  --glow-warmth: 0 0 20px rgba(224, 122, 95, 0.15);
  --blur-radius: 12px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- Global Reset & Basics --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;           /* Clean thin weight for headings */
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem); /* Smaller header sizing */
  font-weight: 300;           /* Extra thin for main heading */
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); /* Smaller section title sizing */
  font-weight: 300;           /* Extra thin for section headers */
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem); /* Smaller card title sizing */
  font-weight: 400;           /* Clean semi-thin weight */
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-weight: 300;           /* Light/thin body text weight */
  font-size: 0.98rem;         /* Slightly smaller body text */
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-warmth {
  background: linear-gradient(135deg, var(--primary) 20%, var(--warmth) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout Utilities --- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  max-width: 700px;
  margin-bottom: 5rem;
  text-align: left;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section {
    padding: 5rem 0;
  }
}

/* --- Decorative Elements (Background Blobs) --- */
.bg-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: 10%;
  right: -10%;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--secondary);
  bottom: 20%;
  left: -15%;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--warmth);
  top: 50%;
  right: 20%;
}

/* --- Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85) !important; /* Premium semi-transparent white background */
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(54, 106, 138, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Default state: Blue brand theme navigation (for white background parts, scrolled states, and sub-pages) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px; /* Thinner navbar */
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px; /* Slightly scaled down logo for thinner bar */
  width: auto;
  filter: none; /* Show original primary blue logo */
  transition: var(--transition-smooth);
}

.nav-links {
  display: flex;
  gap: 0.5rem; /* Closer together links */
  list-style: none;
  position: relative;
}

.nav-indicator {
  position: absolute;
  height: 32px;
  background: rgba(54, 106, 138, 0.08); /* Light blue brand bubble for white backgrounds */
  border-radius: 100px;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  opacity: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary); /* Blue links by default */
  position: relative;
  padding: 0.4rem 1rem; /* Compact padding */
  border-radius: 100px;
  transition: color 0.3s ease;
  z-index: 2; /* Sits above the background indicator bubble */
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 101;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary); /* Blue toggle lines by default */
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ---------------------------------------------------- */
/* Hero Section State: White theme navigation (for index.html hero section overlay) */
/* Activated when body has '.has-hero' and header is NOT scrolled */
/* ---------------------------------------------------- */
body.has-hero .header:not(.scrolled) {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.has-hero .header:not(.scrolled) .nav-logo img {
  filter: brightness(0) invert(1); /* Invert logo to pure white */
}

body.has-hero .header:not(.scrolled) .nav-links a {
  color: #ffffff; /* White links */
}

body.has-hero .header:not(.scrolled) .nav-links a:hover,
body.has-hero .header:not(.scrolled) .nav-links a.active {
  color: #ffffff;
}

body.has-hero .header:not(.scrolled) .nav-indicator {
  background: rgba(255, 255, 255, 0.18); /* Semi-transparent white bubble overlay */
}

body.has-hero .header:not(.scrolled) .mobile-nav-toggle span {
  background-color: #ffffff; /* White mobile toggle lines */
}

/* ---------------------------------------------------- */
/* Mobile Drawer Active State (Open Menu) */
/* ---------------------------------------------------- */
.header:has(.mobile-nav-toggle.open) {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

.header:has(.mobile-nav-toggle.open) .nav-logo img {
  filter: none !important; /* Original blue logo */
}

.header:has(.mobile-nav-toggle.open) .mobile-nav-toggle span {
  background-color: var(--text-main) !important; /* Dark color close toggle X icon */
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(54, 106, 138, 0.05);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    color: var(--text-main) !important; /* Dark slate inside the white drawer background */
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary) !important;
  }

  .nav-indicator {
    display: none; /* Hide bubble indicator on vertical mobile nav layout */
  }
  
  /* Hamburger State */
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center; /* Center content vertically */
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Account for fixed top navigation header */
  z-index: 1; /* Establishes a local stacking context so negative z-index children stay in front of body background */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(97, 162, 199, 0.15) 0%, transparent 60%);
  z-index: -1;
}

/* Canvas background for animated tech node networks */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.hero-content {
  max-width: 900px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-align: center;
  margin: -12vh auto 0;
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 3.6rem); /* Smaller font size, fits on single line on desktop */
  letter-spacing: -0.01em; /* Closer letters */
  line-height: 1.05; /* Closer lines when they wrap */
  font-weight: 300; /* Revert back to thin for main text */
}


.hero-content h1 .hero-blue-text {
  font-weight: 700; /* Bold weight only for Better Living */
}

@media (max-width: 992px) {
  .hero-content {
    margin: 0 auto;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(54, 106, 138, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2s infinite;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .btn-group {
    justify-content: center;
  }
}

/* Image Wrap with concentric circles design */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-placeholder-container {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(54, 106, 138, 0.03);
  border: 1px dashed rgba(54, 106, 138, 0.3);
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero-placeholder-box {
  text-align: center;
  color: var(--primary);
  padding: 2rem;
}

.hero-placeholder-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.hero-placeholder-text {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 100px;       /* Sleek pill shape */
  font-weight: 500;           /* Thinner button weight */
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: none !important;
  outline: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(54, 106, 138, 0.45), rgba(97, 162, 199, 0.45)); /* More transparent glass primary button */
  color: var(--white);
  border: none !important;
  box-shadow: 0 4px 15px rgba(54, 106, 138, 0.05);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(54, 106, 138, 0.7), rgba(97, 162, 199, 0.7));
  box-shadow: 0 8px 25px rgba(54, 106, 138, 0.15);
}

.btn-secondary {
  border: none !important;
  background: rgba(255, 255, 255, 0.15); /* More transparent secondary button */
  color: var(--primary);
  box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.4);
  border: none !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* --- Subpage Header Banner --- */
.page-header-banner {
  padding: 9rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(97, 162, 199, 0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.page-header-banner h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-header-banner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Hero Background Video Layout */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg .hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85; /* Airy and light visibility for background video */
  display: block;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(54, 106, 138, 0.25), rgba(0, 180, 216, 0.25)); /* Very light cyan gradient overlay */
  pointer-events: none;
}

.hero-video-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 0.95) 90%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

.hero-container-overlay {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; /* Center content vertically */
  text-align: center;
}

/* Glassmorphic Video Container */
.hero-video-container {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-arrow {
  transition: var(--transition-fast);
}

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

/* --- Intro / Values Board --- */
.philosophy-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
}

.philosophy-quote {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 2rem;
}

/* Core Philosophy Cards Grid */
.philosophy-val-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.philosophy-val-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.philosophy-val-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.val-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.val-card-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
}

.philosophy-val-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0;
}

.philosophy-val-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .philosophy-val-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 576px) {
  .philosophy-val-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Solutions Showcase (Filter & Accordion) --- */
.filter-menu {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.65rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;           /* Thinner filter button text weight */
  color: var(--text-muted);
  border: 1px solid var(--border-color) !important;
  outline: none !important;
  background: var(--white) !important;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary) !important;
  background: var(--bg-card-hover) !important;
}

.filter-btn.active {
  color: var(--white) !important;
  font-weight: 500;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(54, 106, 138, 0.2);
}

.solutions-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white) !important; /* Solid white background (white undertone) */
  border: 1px solid var(--border-color) !important;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.accordion-item:hover {
  background: var(--primary) !important; /* Turns solid blue on hover */
  border-color: var(--primary) !important;
  box-shadow: 0 10px 30px rgba(54, 106, 138, 0.15) !important;
}

.accordion-item:hover .accordion-header {
  color: var(--white) !important;
}

.accordion-item:hover .accordion-number {
  color: rgba(255, 255, 255, 0.6) !important;
}

.accordion-item:hover .accordion-icon-arrow {
  color: var(--primary) !important;
  background: var(--white) !important;
}

.accordion-item:hover .accordion-body-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.accordion-item:hover .accordion-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
}

.accordion-item:hover .accordion-btn {
  color: var(--white) !important;
}

.accordion-item:hover .accordion-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-family: var(--font-heading);
  font-weight: 400;           /* Clean thin weight for accordion headers */
  font-size: 1.2rem;          /* Slightly smaller accordion header text */
  color: var(--primary);
  transition: var(--transition-smooth);
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  flex: 1;
}

.accordion-number {
  font-size: 0.95rem;
  font-weight: 400;           /* Thinner index label */
  color: var(--text-dim);
  margin-right: 1.5rem;
}

.accordion-icon-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  background: rgba(54, 106, 138, 0.05);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, color 0.4s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s ease;
  padding: 0 2rem;
}

.accordion-content-inner {
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accordion-body-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 0;
}

.accordion-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.accordion-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(54, 106, 138, 0.05);
  border: 1px solid var(--border-color);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;           /* Thinner weight for tags */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accordion-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;           /* Thinner weight for buttons */
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.accordion-btn:hover {
  color: var(--primary);
  background: rgba(54, 106, 138, 0.05);
}

.accordion-btn span {
  transition: transform 0.2s ease;
}

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

/* Expanded Accordion Item Styles */
.accordion-item.active {
  background: var(--primary) !important; /* Turns solid blue when clicked/active */
  border-color: var(--primary) !important;
  box-shadow: 0 10px 30px rgba(54, 106, 138, 0.15) !important;
}

.accordion-item.active .accordion-header {
  color: var(--white) !important;
}

.accordion-item.active .accordion-number {
  color: rgba(255, 255, 255, 0.6) !important;
}

.accordion-item.active .accordion-icon-arrow {
  color: var(--primary) !important;
  background: var(--white) !important;
  transform: rotate(180deg);
}

.accordion-item.active .accordion-body-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.accordion-item.active .accordion-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
}

.accordion-item.active .accordion-btn {
  color: var(--white) !important;
}

.accordion-item.active .accordion-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Hidden elements for filtering */
.accordion-item.hidden {
  display: none;
}

/* --- Brand Strengths --- */
.strength-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.strength-card:hover::before {
  opacity: 1;
}

.strength-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(54, 106, 138, 0.05);
  user-select: none;
  transition: var(--transition-smooth);
}

.strength-card:hover .strength-number {
  color: rgba(54, 106, 138, 0.12);
  transform: scale(1.1);
}

.strength-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(54, 106, 138, 0.05);
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.strength-card:hover .strength-icon {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.strength-card.strength-warmth:hover .strength-icon {
  background: var(--warmth);
  color: var(--white);
  border-color: var(--warmth);
}

.strength-card.strength-warmth:hover .strength-number {
  color: rgba(224, 122, 95, 0.15);
}

.strength-card h3 {
  font-size: 1.2rem;          /* Smaller, more elegant size */
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.strength-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Strategic Pillars Meta Info (matching "Our Experts" layout) */
.strength-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strength-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ffb703;
  font-size: 0.85rem;
  font-weight: 500;           /* Thinner rating weight */
}

.strength-tag-pill {
  font-size: 0.75rem;
  font-weight: 500;           /* Thinner pill weight */
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.05em;
}



/* --- Slide-in Immersive Detail Drawer --- */
.details-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 106, 138, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.details-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 650px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.details-drawer-overlay.active + .details-drawer,
.details-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(54, 106, 138, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(54, 106, 138, 0.1);
  color: var(--primary);
  transform: rotate(90deg);
}

.drawer-body {
  padding: 2.5rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(97, 162, 199, 0.1);
  border: 1px solid rgba(97, 162, 199, 0.2);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;           /* Thinner category weight */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.drawer-title {
  font-size: 1.6rem;          /* Smaller details title */
  margin-bottom: 2rem;
  line-height: 1.3;
  color: var(--primary);
}

.drawer-desc-block {
  margin-bottom: 2.5rem;
}

.drawer-desc-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.drawer-section-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;           /* Thinner section title weight */
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-section-title svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Feature/Highlights list */
.drawer-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.drawer-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.drawer-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Canada context box */
.drawer-context-box {
  background: rgba(97, 162, 199, 0.04);
  border: 1px solid rgba(97, 162, 199, 0.15);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.drawer-context-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--secondary);
}

.drawer-context-title {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-context-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Drawer interactive diagram */
.drawer-diagram {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.diagram-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.diagram-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.diagram-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(54, 106, 138, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.diagram-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Contact Section --- */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-intro-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-method-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-method-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: rgba(54, 106, 138, 0.05);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-method-item:hover .contact-method-icon {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(54, 106, 138, 0.15);
}

.contact-method-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact-method-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 10px rgba(54, 106, 138, 0.1);
}

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

/* Validation styling */
.form-control.invalid {
  border-color: #ef4444;
}

.error-message {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-control.invalid + .error-message {
  display: block;
}

/* Custom Select styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23366A8A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-status-message {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.form-status-message.success {
  background: rgba(97, 162, 199, 0.08);
  border: 1px solid rgba(97, 162, 199, 0.2);
  color: var(--primary);
  display: block;
}

.form-status-message.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  display: block;
}

/* --- Footer --- */
.footer {
  background: #1a3444;       /* Slate Blue Dark background for high-end styling contrast */
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-col a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-badge-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--white);
}

.footer-eco-badge span {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--secondary);
}

/* --- Entrance & Scroll Animations (Observer-based) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* --- Keyframes & Utility Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(97, 162, 199, 0.5); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(97, 162, 199, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(97, 162, 199, 0); }
}

/* --- CSS-Only Visual Mockups & Placeholders (No Image Files) --- */
.visual-placeholder-container {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(54, 106, 138, 0.02);
  border: 1px dashed rgba(54, 106, 138, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.visual-placeholder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(54, 106, 138, 0.1);
  padding-bottom: 0.75rem;
}

.visual-placeholder-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 600;
}

.visual-placeholder-dots {
  display: flex;
  gap: 0.25rem;
}

.visual-placeholder-dot {
  width: 6px;
  height: 6px;
  background: rgba(54, 106, 138, 0.3);
  border-radius: 50%;
}

.visual-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.visual-placeholder-card {
  height: 80px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(54, 106, 138, 0.08);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem;
}

.visual-placeholder-line {
  height: 6px;
  background: rgba(54, 106, 138, 0.08);
  border-radius: 3px;
  width: 60%;
  margin-bottom: 0.4rem;
}

.visual-placeholder-line.short {
  width: 40%;
}

.visual-placeholder-circle {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(54, 106, 138, 0.15);
  border-radius: 50%;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.strength-visual-blank {
  width: 100%;
  height: 120px;
  margin-top: 1.5rem;
  background: radial-gradient(rgba(54, 106, 138, 0.04) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 1px dashed rgba(54, 106, 138, 0.15);
  border-radius: 8px;
  position: relative;
}

.strength-visual-blank::before {
  content: '[ Blueprint Schematic ]';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strength-visual-image {
  width: 100%;
  height: 160px;
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: rgba(54, 106, 138, 0.02);
  box-shadow: inset 0 0 20px rgba(54, 106, 138, 0.05);
  transition: var(--transition-smooth);
}

.strength-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-smooth);
  opacity: 0.9;
}

.strength-card:hover .strength-visual-image {
  border-color: var(--primary-glow);
  box-shadow: 0 4px 15px rgba(54, 106, 138, 0.08);
}

.strength-card:hover .strength-visual-image img {
  transform: scale(1.04);
  opacity: 1;
}

/* --- Solutions Background Image Overlay --- */
.solutions-interactive-wrap {
  position: relative;
  width: 100%;
  padding-top: 0;
  padding-bottom: 4rem;
}

#solutions {
  position: relative;
  background: transparent;
}

.solutions-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.solutions-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/wind-turbine.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45; /* Increased opacity for clear visibility */
  transition: opacity 0.5s ease;
}

.solutions-bg-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* Tighter transition area */
  background: linear-gradient(180deg, #ffffff 0%, transparent 100%);
}

.solutions-bg-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px; /* Tighter transition area */
  background: linear-gradient(0deg, #ffffff 0%, transparent 100%);
}

/* --- Site Preloader / Intro Screen --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4); /* Frosted glassy transparent background */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(25px); /* Starts highly blurred */
  -webkit-backdrop-filter: blur(25px);
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              -webkit-backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.preloader.loaded {
  opacity: 0; /* Fade out transition */
  backdrop-filter: blur(0px); /* Transition to not blurry */
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  position: relative;
  z-index: 2;
  transition: opacity 0.8s ease;
}

.preloader.loaded .preloader-content {
  opacity: 0; /* Fade out logo slightly faster than the background blur */
}

.preloader-icon-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 2.5rem;
}

.preloader-icon {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Static icon - no spinning or rotation animations */
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary); /* Deep slate blue for high legibility over white-glass blur */
  font-weight: 500;
  opacity: 0.8;
  animation: preloader-text-pulse 2s ease-in-out infinite;
}

@keyframes preloader-text-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

/* --- Hero Blue Text Shimmer Effect --- */
.hero-blue-text {
  font-weight: 700;
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    var(--primary) 35%,
    var(--secondary) 50%,
    var(--primary) 65%,
    var(--primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 5s linear infinite;
  display: inline-block;
}

@keyframes textShimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
