/* ============================================
   OLTENIA FRIG - Premium HVAC Website
   Inspired by Apple, Stripe, Award-winning sites
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #0a1628;
  --primary-light: #0f1d35;
  --secondary: #00b4d8;
  --accent: #00f0ff;
  --accent-warm: #4361ee;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #1a1a2e;
  --dark: #060b18;
  --gradient-1: linear-gradient(135deg, #00b4d8 0%, #4361ee 100%);
  --gradient-2: linear-gradient(135deg, #0a1628 0%, #1a1a2e 100%);
  --gradient-3: linear-gradient(135deg, #00f0ff 0%, #00b4d8 50%, #4361ee 100%);
  --gradient-hero: linear-gradient(180deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.7) 50%, rgba(10,22,40,0.95) 100%);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(0,180,216,0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

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

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

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

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

ul, ol { list-style: none; }

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

::selection {
  background: var(--secondary);
  color: var(--white);
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 90vw;
  text-align: center;
}

.preloader-inner img {
  max-width: min(200px, 60vw);
  height: auto;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
  animation: preloaderFill 1.6s ease-out forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

/* ---- Custom Cursor ---- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0,240,255,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99997;
  transition: all 0.15s ease-out;
}

.cursor-outline.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(0,240,255,0.08);
}

@media (max-width: 1024px) {
  .cursor-dot, .cursor-outline { display: none; }
}

/* ---- Navigation ---- */
.navbar-premium {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-premium.scrolled {
  background: rgba(6,11,24,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-premium .container {
  max-width: 1400px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-brand .brand-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav-brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand .brand-text span {
  -webkit-text-fill-color: var(--white);
}

.navbar-premium .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  letter-spacing: 0.01em;
  transition: var(--transition-fast);
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
  color: var(--white) !important;
}

.navbar-premium .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-3);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
  width: 60%;
}

.navbar-premium .dropdown-menu {
  background: rgba(15,29,53,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  padding-top: 1.4rem; /* 0.6rem visual gap + 0.8rem inner padding */
  margin-top: 0;       /* flush – no gap to lose hover */
  min-width: 260px;
  box-shadow: var(--shadow-lg);
}

.navbar-premium .dropdown-item {
  color: rgba(255,255,255,0.7);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.navbar-premium .dropdown-item i {
  font-size: 1.1rem;
  color: var(--secondary);
  width: 24px;
  text-align: center;
}

.navbar-premium .dropdown-item:hover {
  background: rgba(0,180,216,0.1);
  color: var(--white);
}

/* ---- Hover Dropdown (desktop) — Premium Apple/Stripe style ---- */
.navbar-premium .dropdown-toggle::after {
  display: none !important;
}

.nav-arrow {
  font-size: 0.65rem;
  margin-left: 5px;
  transition: transform 0.22s ease;
  display: inline-block;
  opacity: 0.75;
}

@media (min-width: 992px) {
  .navbar-premium .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    pointer-events: none;
    margin-top: 0 !important; /* no gap → seamless hover */
  }
  /* Invisible top bridge: fills the visual gap so cursor never leaves hover zone */
  .navbar-premium .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.6rem; /* matches the padding-top visual gap */
  }
  .navbar-premium .dropdown:hover .dropdown-menu,
  .navbar-premium .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
  }
  .navbar-premium .dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }
  /* Mobile: reset mega-menu to single column */
  .mega-menu { min-width: 260px; }
}

/* ---- Mega-menu Produse ---- */
/* Mobile default: single column, no grid (let Bootstrap show/hide normally) */
.mega-menu {
  min-width: 260px;
}

/* Desktop: 2-column grid */
@media (min-width: 992px) {
  .mega-menu {
    min-width: 440px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
  }
}

.mega-menu .dropdown-item {
  border-radius: var(--radius-sm);
}

.mega-menu .dropdown-item .item-desc {
  font-size: 0.75rem;
  opacity: 0.55;
  display: block;
  margin-top: 1px;
  line-height: 1.3;
}

.mega-menu .dropdown-item:hover .item-desc {
  opacity: 0.8;
}

.mega-menu .dropdown-item {
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem;
}

.mega-menu .dropdown-item .item-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.nav-cta-btn {
  background: var(--gradient-1) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4361ee 0%, #00b4d8 100%);
  opacity: 0;
  transition: var(--transition);
}

.nav-cta-btn:hover::before { opacity: 1; }
.nav-cta-btn span { position: relative; z-index: 1; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 1rem;
}

.nav-phone i { font-size: 1rem; }

/* Mobile menu toggle */
.navbar-toggler {
  border: none !important;
  padding: 0.5rem;
  outline: none !important;
  box-shadow: none !important;
}

.hamburger-icon {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

.hero-bg-video video,
.hero-bg-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: 1;
  opacity: 0.15;
}

.hero-glow-1 {
  top: -200px;
  right: -100px;
  background: var(--secondary);
}

.hero-glow-2 {
  bottom: -200px;
  left: -100px;
  background: var(--accent-warm);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 0.3rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-element {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

.hero-floating-card {
  position: absolute;
  background: rgba(15,29,53,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}

.hero-floating-card:nth-child(1) {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.hero-floating-card:nth-child(2) {
  bottom: 20%;
  left: -10%;
  animation-delay: 2s;
}

.hero-floating-card:nth-child(3) {
  top: 50%;
  right: -5%;
  animation-delay: 4s;
}

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

.hero-floating-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.hero-floating-card .card-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
}

.hero-floating-card .card-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ---- Buttons ---- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-premium-fill {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.3);
}

.btn-premium-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.4);
  color: var(--white);
}

.btn-premium-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-premium-outline:hover {
  border-color: var(--secondary);
  background: rgba(0,180,216,0.08);
  color: var(--white);
}

.btn-premium-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-premium-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

.btn-premium i { font-size: 0.9em; }

.btn-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.btn-icon-circle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* ---- Section Styles ---- */
.section-padding {
  padding: 8rem 0;
}

.section-padding-sm {
  padding: 5rem 0;
}

.section-dark {
  background: var(--dark);
}

.section-darker {
  background: var(--primary);
}

.section-gradient {
  background: var(--gradient-2);
}

.section-light {
  background: var(--gray-100);
  color: var(--primary);
}

.section-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-label .label-line {
  width: 30px;
  height: 2px;
  background: var(--gradient-3);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.section-light .section-title { color: var(--primary); }

.section-title .highlight {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.section-light .section-subtitle { color: var(--gray-500); }

/* ---- About / Stats Section ---- */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: var(--gradient-1);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge h3 {
  font-size: 2.5rem;
  font-weight: 800;
}

.about-experience-badge p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,180,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.about-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.2);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.15);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,180,216,0.1);
}

.service-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.service-card-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 24px;
  background: var(--gradient-1);
  opacity: 0.15;
  z-index: -1;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-card-features span {
  padding: 0.3rem 0.8rem;
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

/* ---- Why Choose Us ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem 2rem 2rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-3);
  transform: scaleX(0);
  transition: var(--transition-slow);
}

.feature-card:hover::before { transform: scaleX(1); }

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

.feature-card:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.18);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,180,216,0.08);
}

.feature-card-number {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,240,255,0.08));
  border: 1px solid rgba(0,180,216,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: rgba(255,255,255,0.58);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

/* ---- Projects Section ---- */
.projects-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}

.projects-filter .filter-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}

.projects-filter .filter-btn:hover,
.projects-filter .filter-btn.active {
  background: var(--gradient-1);
  color: var(--white);
  border-color: transparent;
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  group: true;
  cursor: pointer;
}

.project-card-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(180deg, rgba(0,180,216,0.1) 0%, rgba(10,22,40,0.98) 100%);
}

.project-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.project-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.project-card-tags span {
  padding: 0.25rem 0.6rem;
  background: rgba(0,180,216,0.15);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- Clients & Suppliers Marquee ---- */
.marquee-section {
  overflow: hidden;
  padding: 4rem 0;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  /* No gap here — tracks must be flush for seamless loop */
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marqueeScroll 35s linear infinite;
  flex-shrink: 0;
  min-width: 100%; /* each track fills at least full width */
  padding-right: 2rem; /* matches gap so loop is seamless */
}

/* .marquee-track:hover pause handled via JS on .marquee-wrapper */

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Reverse direction: starts off-screen LEFT, moves RIGHT to exit RIGHT */
.marquee-track-reverse {
  animation: marqueeScrollReverse 38s linear infinite;
}
@keyframes marqueeScrollReverse {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 80px;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
  flex-shrink: 0;
}

.marquee-item:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.2);
}

.marquee-item img {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: var(--transition);
}

.marquee-item:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.section-light .marquee-item {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.section-light .marquee-item img {
  filter: none;
  opacity: 0.4;
}

.section-light .marquee-item:hover img {
  opacity: 1;
}

/* ---- News / Blog Section ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,180,216,0.2);
  box-shadow: 0 20px 60px rgba(0,180,216,0.1);
}

.news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.news-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  background: var(--gradient-1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
}

.news-card-body {
  padding: 1.5rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.news-card-meta i { color: var(--secondary); }

.news-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  transition: var(--transition-fast);
}

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

.news-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: var(--transition-fast);
}

.news-card-link:hover {
  color: var(--accent);
  gap: 0.8rem;
}

/* Section Light versions */
.section-light .news-card {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.section-light .news-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.section-light .news-card h3 { color: var(--primary); }
.section-light .news-card:hover h3 { color: var(--secondary); }
.section-light .news-card p { color: var(--gray-500); }
.section-light .news-card-meta { color: var(--gray-400); }

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-box {
  position: relative;
  background: var(--gradient-1);
  border-radius: var(--radius-xl);
  padding: 5rem;
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px;
  right: -100px;
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -100px;
  left: -50px;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-box .btn-premium {
  position: relative;
  z-index: 1;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,0.3), transparent);
}

.footer-main {
  padding: 5rem 0 3rem;
}

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

.footer-brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 350px;
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-1);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.5);
  padding-left: 0;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  text-decoration: none;
  display: block;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-contact-item p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-contact-item a:hover { color: var(--accent); }

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

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

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

/* ---- Page Header (Inner pages) ---- */
.page-header {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: var(--primary);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(10,22,40,0.9) 50%, var(--primary) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 5;
}

.breadcrumb-premium {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.breadcrumb-premium a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.breadcrumb-premium a:hover { color: var(--accent); }
.breadcrumb-premium span { color: rgba(255,255,255,0.3); }
.breadcrumb-premium .current { color: var(--accent); font-weight: 600; }

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  line-height: 1.8;
}

/* ---- Service Detail Page ---- */
.service-detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-detail-feature:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.15);
}

.service-detail-feature .feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.service-detail-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.service-detail-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* Process / How We Work */
.process-timeline {
  position: relative;
  padding-left: 3rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--accent-warm));
}

.process-step {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.process-step:last-child { padding-bottom: 0; }

.process-step-number {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.15);
}

.contact-info-card .info-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-info-card p,
.contact-info-card a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.contact-info-card a:hover { color: var(--accent); }

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary);
  background: rgba(0,180,216,0.05);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
  color: var(--white);
}

.contact-form .form-control::placeholder {
  color: rgba(255,255,255,0.3);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.8);
}

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

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.1);
}

/* ---- Blog / News Page ---- */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.news-featured {
  grid-column: 1 / -1;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-featured-card:hover {
  border-color: rgba(0,180,216,0.2);
  box-shadow: 0 20px 60px rgba(0,180,216,0.1);
}

.news-featured-card .news-featured-image {
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.news-featured-card .news-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-sidebar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.news-sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.news-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0.2rem;
  transition: var(--transition-fast);
}

.news-tag:hover {
  background: var(--gradient-1);
  color: var(--white);
  border-color: transparent;
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ---- Floating Background Elements ---- */
.bg-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.bg-decoration-1 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: -200px;
  right: -200px;
}

.bg-decoration-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-warm);
  bottom: -200px;
  left: -200px;
}

.bg-decoration-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---- Animated Gradient Border ---- */
.gradient-border {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-lg);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-3);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.gradient-border:hover::before {
  opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-visual { display: none; }
  .hero-content { text-align: center; padding-top: 8rem; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .news-featured-card { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .service-detail-features { grid-template-columns: 1fr; }
  .nav-phone { display: none; }

  .navbar-premium .navbar-collapse {
    background: rgba(6,11,24,0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
  }
  /* Mobile: replace bottom underline with left-border active style */
  .navbar-premium .nav-link::after { display: none !important; }
  .navbar-premium .nav-link.active {
    background: rgba(0,180,216,0.1);
    border-radius: 8px;
    color: var(--white) !important;
    padding-left: 1.2rem !important;
  }
  /* Nav-arrow: push to right edge in mobile stacked menu */
  .navbar-premium .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .nav-arrow { margin-left: auto; }
  /* Mobile: add spacing below open dropdown so it doesn't stick to next item */
  .navbar-premium .dropdown-menu {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0.5rem;
  }
  /* Mobile mega-menu: single column */
  .mega-menu {
    min-width: unset !important;
    grid-template-columns: 1fr !important;
  }
  /* Cursor: hidden on mobile */
  .cursor-dot, .cursor-outline { display: none !important; }
}

@media (max-width: 768px) {
  .section-padding { padding: 5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-page-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
  .cta-box { padding: 3rem 1.5rem; }
  .page-header { padding: 8rem 0 3rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
}

/* ---- Snowflake / Ice Particles ---- */
.particle {
  position: absolute;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFall linear infinite;
}

@keyframes particleFall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---- Animated SVG Lines ---- */
.svg-decoration {
  position: absolute;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.svg-decoration path {
  stroke: var(--secondary);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ---- Smooth Scroll to Top Button ---- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-glow);
}

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

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,180,216,0.4);
}

/* ---- Animated Background Mesh ---- */
.mesh-gradient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.mesh-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.07;
  animation: blobFloat 20s ease-in-out infinite;
}

.mesh-gradient-blob:nth-child(1) {
  width: 400px;
  height: 400px;
  background: #00b4d8;
  top: 10%;
  left: 20%;
}

.mesh-gradient-blob:nth-child(2) {
  width: 350px;
  height: 350px;
  background: #4361ee;
  top: 50%;
  right: 10%;
  animation-delay: -7s;
}

.mesh-gradient-blob:nth-child(3) {
  width: 300px;
  height: 300px;
  background: #00f0ff;
  bottom: 10%;
  left: 40%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.1); }
  50% { transform: translate(-30px, 30px) scale(0.9); }
  75% { transform: translate(40px, 20px) scale(1.05); }
}

/* ---- Utility ---- */
.text-gradient {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.z-1 { z-index: 1; position: relative; }
.z-5 { z-index: 5; position: relative; }

.overflow-hidden { overflow: hidden; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Client logo grid for pages */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  min-height: 100px;
  transition: var(--transition);
}

.client-logo-card:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.2);
  transform: translateY(-3px);
}

.client-logo-card img {
  max-height: 50px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: var(--transition);
}

.client-logo-card:hover img {
  opacity: 1;
}

/* Suppliers — show logos with natural brand colors on a glass card */
.suppliers-section .marquee-item {
  min-width: 160px;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.11);
}
.suppliers-section .marquee-item:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.2);
}
/* Override the global brightness(0) invert(1) — supplier logos have opaque backgrounds */
.suppliers-section .marquee-item img {
  filter: grayscale(0.25) !important;
  opacity: 0.75;
}
.suppliers-section .marquee-item:hover img {
  filter: none !important;
  opacity: 1;
}

/* ---- Loading shimmer ---- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-shimmer {
  background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.05) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ================================================================
   PHP SITE SPECIFIC STYLES
   ================================================================ */

/* ---- Page Header (inner pages) ---- */
.page-header {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1a35 100%);
  overflow: hidden;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,11,24,0.6) 0%, rgba(10,22,40,0.4) 100%);
  z-index: 1;
}

.page-header .container { position: relative; z-index: 2; }

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb — see premium override at bottom of file */

/* ---- Project card category badge ---- */
.project-card-category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,180,216,0.85);
  color: #0a1628;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Project card btn */
.project-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--accent);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.75rem;
  transition: all 0.2s;
}
.project-card-btn:hover { background: var(--accent); color: #0a1628; }

/* Large project grid */
.projects-grid-large {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Filter buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.4);
  color: var(--accent);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-color: transparent;
  color: #0a1628;
  font-weight: 700;
}

/* ---- Article styles ---- */
.news-featured {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.news-featured-img {
  position: relative;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-featured:hover .news-featured-img img { transform: scale(1.03); }

.news-featured-body {
  padding: 2.5rem;
}

.news-featured-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.news-featured-excerpt {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-size: 1rem;
}

/* Article content */
.article-content {
  color: rgba(255,255,255,0.85);
}

.article-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
}

.article-body h2, .article-body h3, .article-body h4 {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p { margin-bottom: 1.25rem; }

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body li { margin-bottom: 0.4rem; }

.article-body strong { color: var(--white); font-weight: 600; }

.article-body a { color: var(--accent); text-decoration: underline; }

/* ---- Project detail ---- */
.project-info-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-info-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.project-info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-info-list li:last-child { border-bottom: none; padding-bottom: 0; }

.info-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.info-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

.project-cta-card {
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,240,255,0.05));
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.project-cta-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.project-cta-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

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

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

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.3s;
}

.contact-info-card:hover { border-color: rgba(0,180,216,0.3); }

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,240,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.25rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}

.contact-info-card a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.contact-info-card a:hover { color: var(--accent); }

.contact-social { display: flex; gap: 0.75rem; }

.contact-form-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-form-wrapper h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form .form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
  display: block;
}

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: border-color 0.25s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--secondary);
  background: rgba(0,180,216,0.05);
}

.contact-form .form-control::placeholder { color: rgba(255,255,255,0.25); }

.contact-form .form-select option { background: var(--card-bg); color: var(--white); }

/* Alert states */
.alert-success-custom {
  text-align: center;
  padding: 3rem 2rem;
  color: #22c55e;
}

.alert-success-custom h4 { font-size: 1.4rem; margin: 0.75rem 0 0.5rem; color: #22c55e; }
.alert-success-custom p { color: rgba(255,255,255,0.6); }

.alert-error-custom {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
}

/* Map wrapper */
.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

/* ---- Swiper customization ---- */
.swiper { border-radius: var(--radius-lg); overflow: hidden; }

.swiper-button-next, .swiper-button-prev {
  color: var(--accent) !important;
  background: rgba(0,0,0,0.5);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem !important; }

.swiper-pagination-bullet { background: rgba(255,255,255,0.4) !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }

/* ---- Marquee logo text (fallback) ---- */
.marquee-logo-text {
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee-item:hover .marquee-logo-text { color: rgba(255,255,255,0.8); }

/* ---- Service headers ---- */
.service-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0d1a35 100%);
}

/* ---- News grid (full width, 3 col) ---- */
.news-grid-main {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ---- btn-primary-ice ---- */
.btn-primary-ice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #0a1628 !important;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary-ice:hover { opacity: 0.9; transform: translateY(-1px); }

/* ---- Social link ---- */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.25s;
  font-size: 0.9rem;
}

.social-link:hover {
  background: rgba(0,180,216,0.2);
  border-color: var(--secondary);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---- Footer contact list ---- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-list li i {
  color: var(--accent);
  width: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact-list a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--accent); }

/* ---- Footer top/bottom split ---- */
.footer-top { padding: 4rem 0 3rem; background: var(--primary); border-top: 1px solid var(--glass-border); }
.footer-bottom { padding: 1.25rem 0; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); }

/* ---- Gallery thumb ---- */
.gallery-thumb { display: block; overflow: hidden; border-radius: 10px; }
.gallery-thumb img { transition: transform 0.4s; }
.gallery-thumb:hover img { transform: scale(1.05); }

/* (Preloader styles consolidated at top of file) */

/* ---- Gradient text utility ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- section-light: feature cards ---- */
.section-light .feature-card {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.section-light .feature-card:hover {
  background: var(--white);
  border-color: rgba(0,180,216,0.35);
  box-shadow: 0 16px 48px rgba(0,180,216,0.10);
  transform: translateY(-5px);
}
.section-light .feature-card h3 { color: var(--primary) !important; }
.section-light .feature-card p  { color: var(--gray-500) !important; }
.section-light .feature-card-number {
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.15);
  color: var(--secondary);
}

/* ---- btn-outline-ice ---- */
.btn-outline-ice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
}
.btn-outline-ice:hover,
.btn-outline-ice:focus {
  background: rgba(255,255,255,0.07);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-outline-ice.btn-lg {
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
}

/* ---- Breadcrumb premium ---- */
.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  align-items: center;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  line-height: 1;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.4rem;
}
.breadcrumb-item a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  transition: color 0.2s;
}
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
}


/* ====================================================
   SNOWFLAKE EFFECT — All page headers & hero section
   ==================================================== */
.snowflake {
  position: absolute;
  top: -10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: snowfall var(--snow-duration, 8s) linear var(--snow-delay, 0s) infinite;
}

@keyframes snowfall {
  0%   { transform: translateY(-10px) translateX(0)                  rotate(0deg);   opacity: 0; }
  5%   { opacity: var(--snow-opacity, 0.6); }
  95%  { opacity: var(--snow-opacity, 0.6); }
  100% { transform: translateY(700px)  translateX(var(--snow-drift, 30px)) rotate(360deg); opacity: 0; }
}

/* Ensure page-header is position:relative so snow is contained */
.page-header { position: relative; }

/* ====================================================
   FOOTER IMPROVEMENTS — More vibrant, premium look
   ==================================================== */

/* Override dull footer colors with brighter versions */
.footer-top {
  background: linear-gradient(180deg, #07111e 0%, #0a1628 100%);
  border-top: 1px solid rgba(0,180,216,0.15);
  position: relative;
  overflow: hidden;
}

/* Subtle glow decoration in footer */
.footer-top::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,180,216,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer title — more vibrant */
.footer-title {
  color: var(--secondary) !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.2rem;
}

/* Footer brand description — lighter */
.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 320px;
}

/* Footer links — brighter */
.footer-links a {
  color: rgba(255,255,255,0.65) !important;
}
.footer-links a:hover {
  color: var(--secondary) !important;
}

/* Footer contact list icon color */
.footer-contact-list li i {
  color: var(--secondary);
}

/* Footer contact list text */
.footer-contact-list li span,
.footer-contact-list li a {
  color: rgba(255,255,255,0.65);
}

/* Footer social icons — brighter border */
.footer-social .social-link {
  border-color: rgba(0,180,216,0.25);
  color: rgba(255,255,255,0.65);
}

/* Footer bottom — slightly brighter text */
.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(0,180,216,0.08);
}
.footer-bottom p {
  color: rgba(255,255,255,0.45) !important;
}

/* ====================================================
   MOBILE HAMBURGER — Make it always visible & correct
   ==================================================== */
.hamburger-icon {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger → X when open */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* (Preloader styles consolidated at top of file) */

/* ====================================================
   PAGINATION — Shared styles for proiecte/noutati/produse
   ==================================================== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination-wrapper .page-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pagination-wrapper .page-link-item:hover {
  background: rgba(0,180,216,0.12);
  border-color: rgba(0,180,216,0.3);
  color: var(--secondary);
}
.pagination-wrapper .page-link-item.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}
.pagination-wrapper .page-link-item.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.pagination-wrapper .page-ellipsis {
  color: rgba(255,255,255,0.3);
  padding: 0 0.25rem;
  font-size: 0.875rem;
}

/* ====================================================
   SERVICE ICON — Definition (used in despre-noi, cariere, produse)
   ==================================================== */
.service-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.service-card:hover .service-icon {
  background: rgba(0,180,216,0.18);
  border-color: rgba(0,180,216,0.4);
}

/* ====================================================
   BREADCRUMB — Premium override (ensure last item is white)
   ==================================================== */
nav[aria-label="breadcrumb"] .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

nav[aria-label="breadcrumb"] .breadcrumb-item + .breadcrumb-item::before {
  content: "›" !important;
  color: rgba(255,255,255,0.3) !important;
  font-size: 1rem !important;
  padding: 0 0.4rem !important;
  float: none !important;
  vertical-align: middle !important;
}

nav[aria-label="breadcrumb"] .breadcrumb-item a {
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  transition: color 0.2s !important;
}

nav[aria-label="breadcrumb"] .breadcrumb-item a:hover {
  color: var(--accent) !important;
}

nav[aria-label="breadcrumb"] .breadcrumb-item.active,
nav[aria-label="breadcrumb"] .breadcrumb-item.active span {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav[aria-label="breadcrumb"] .breadcrumb {
  flex-wrap: nowrap !important;
  overflow: hidden;
}

/* ====================================================
   STATS ROW — Better spacing & visual presence
   ==================================================== */
.stats-row {
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem 1.25rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* Subtle top border accent on each stat card */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,0.5), transparent);
}

.stat-number {
  font-size: 2.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55) !important;
}

/* stat-icon */
.stat-icon {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

/* ====================================================
   ABOUT DXF CANVAS WRAPPER
   ==================================================== */
.about-dxf-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060b18;
  border: 1px solid rgba(0,180,216,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,180,216,0.08);
}

.about-dxf-wrapper canvas {
  display: block;
  width: 100%;
  height: 400px;
}

.about-dxf-label {
  position: absolute;
  bottom: 14px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0,180,216,0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.dxf-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b4d8;
  animation: dxfPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .about-dxf-wrapper canvas { height: 280px; }
  .about-dxf-label { bottom: 8px; left: 12px; font-size: 0.6rem; }
}

/* ====================================================
   PRODUCT CARDS — Produse page
   ==================================================== */
.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product-card:hover {
  border-color: rgba(0,180,216,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.product-card-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
  background: rgba(0,180,216,0.04);
}
.product-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .product-card-img-link img {
  transform: scale(1.05);
}
.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  opacity: 0.2;
  font-size: 3.5rem;
}
.product-card-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,180,216,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.product-card-img-overlay span {
  background: var(--secondary);
  color: #0a1628;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
}
.product-card:hover .product-card-img-overlay { opacity: 1; }
.product-card-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.product-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.product-card-btn {
  display: block;
  text-align: center;
  padding: 0.55rem 1rem;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: var(--radius-md);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-top: auto;
}
.product-card-btn:hover {
  background: var(--secondary);
  color: #0a1628;
  border-color: var(--secondary);
}

@keyframes dxfPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0,180,216,0.6); }
  50%       { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 5px rgba(0,180,216,0); }
}
