/*
 * PLACEMENT KEEPERS PEOPLE PULSE PVT LTD - Stylesheet
 * Custom CSS Design System with Dynamic CSS Variables (Light/Dark Mode Support)
 */

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

/* ==========================================
   CSS CUSTOM VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
  /* Brand Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Theme Colors (Logo-inspired Teal & Navy Blue) */
  --primary-hue: 187;
  --primary-sat: 85%;
  --primary-lightness: 45%;
  --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-lightness));
  --primary-hover: hsl(var(--primary-hue), var(--primary-sat), calc(var(--primary-lightness) - 8%));
  --primary-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.25);
  
  --secondary-hue: 220;
  --secondary-sat: 40%;
  --secondary-lightness: 18%;
  --secondary: hsl(var(--secondary-hue), var(--secondary-sat), var(--secondary-lightness));
  
  /* Light Mode Palette */
  --bg-base: hsl(210, 40%, 98%);
  --bg-surface: hsl(0, 0%, 100%);
  --bg-surface-alt: hsl(210, 30%, 94%);
  --border-color: hsl(214, 32%, 91%);
  --border-light: hsl(214, 32%, 95%);
  --text-main: hsl(222, 47%, 12%);
  --text-muted: hsl(215, 16%, 47%);
  --text-light: hsl(210, 40%, 98%);
  
  /* Status Colors */
  --success: hsl(142, 71%, 45%);
  --success-glow: hsla(142, 71%, 45%, 0.15);
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 20px -5px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.3);
  
  /* Animations & Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Structural Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: 12px;
}

/* Dark Mode Overrides */
body.dark-theme {
  --bg-base: hsl(222, 47%, 10%);
  --bg-surface: hsl(223, 47%, 14%);
  --bg-surface-alt: hsl(223, 40%, 18%);
  --border-color: hsl(223, 30%, 22%);
  --border-light: hsl(223, 30%, 25%);
  --text-main: hsl(210, 40%, 98%);
  --text-muted: hsl(215, 20%, 65%);
  --text-light: hsl(222, 47%, 12%);
  
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.45), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.55), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   GLOBAL RESET & INITIAL SETUP
   ========================================== */
/* ==========================================
   GLOBAL RESET & INITIAL SETUP
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

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

ul {
  list-style: none;
}

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

/* ==========================================
   COMMON LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background-color: var(--primary-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), hsl(var(--primary-hue), var(--primary-sat), 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  color: #ffffff;
  background-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--text-muted);
  transform: translateY(-3px);
}

.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  padding: 0;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  color: var(--text-main);
}

.logo-text span:last-child {
  color: var(--primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-smooth);
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.05);
  color: var(--primary);
  background-color: var(--bg-surface);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle .sun-icon {
  display: none;
}

body.dark-theme .theme-toggle .moon-icon {
  display: none;
}

body.dark-theme .theme-toggle .sun-icon {
  display: block;
}

/* Hamburger menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1010;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}

@media (max-width: 992px) {
  .menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transition: right var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Menu icon animation when active */
  .menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ==========================================
   DROPDOWN & ACCORDION NAVIGATION STYLES
   ========================================== */

/* Header CTA Button displays only on Desktop */
.header-cta {
  display: inline-flex !important;
}

@media (max-width: 992px) {
  .header-cta {
    display: none !important;
  }
}

/* Desktop Dropdown Style (screen width >= 993px) */
@media (min-width: 993px) {
  .nav-menu .nav-item {
    position: relative;
  }

  .nav-menu .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  .nav-menu .dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-smooth);
  }

  .nav-menu .nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
  }

  .nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 320px;
    background: var(--bg-surface) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 16px 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* transparent bridge to prevent hover loss when moving cursor down */
  .nav-menu .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
  }

  .nav-menu .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
  }

  .dropdown-item:hover {
    background-color: var(--primary-glow);
    color: var(--primary);
  }

  .dropdown-item-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-alt);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition-fast), color var(--transition-fast);
  }

  .dropdown-item:hover .dropdown-item-icon {
    background-color: var(--bg-surface);
    color: var(--primary);
  }

  .dropdown-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
  }

  .dropdown-item-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--text-main);
  }

  .dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    transition: color var(--transition-fast);
  }

  .dropdown-item:hover .dropdown-item-desc {
    color: var(--text-main);
  }
}

/* Mobile Accordion Style (screen width <= 992px) */
@media (max-width: 992px) {
  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
  }

  .nav-menu .dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-smooth);
    color: var(--text-muted);
  }

  .nav-menu .nav-item.active > .dropdown-trigger .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
  }

  .nav-menu .dropdown-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 14px;
    border-left: 2px solid var(--border-color);
    transition: max-height var(--transition-smooth), opacity var(--transition-smooth), margin var(--transition-smooth);
    margin-top: 0;
    width: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .nav-menu .nav-item.active .dropdown-menu {
    max-height: 400px;
    opacity: 1;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .dropdown-item:hover {
    color: var(--primary);
  }

  .dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-alt);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .dropdown-item-icon svg {
    width: 16px;
    height: 16px;
  }

  .dropdown-item-content {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .dropdown-item-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
  }

  .dropdown-item-desc {
    display: none; /* Hide descriptions on mobile to keep layout compact and neat */
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 10% 20%, hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, hsla(var(--secondary-hue), var(--secondary-sat), 30%, 0.05) 0%, transparent 50%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  opacity: 0.15;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  background-color: var(--primary-glow);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-tag span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), #00d2d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.hero-stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Graphics */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-backdrop {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 440px;
  z-index: 2;
}

.main-visual-card {
  position: absolute;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-smooth);
}

.main-visual-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.floating-overlay-card {
  position: absolute;
  bottom: 40px;
  right: -30px;
  width: 250px;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 4s ease-in-out infinite;
}

.floating-overlay-card-2 {
  position: absolute;
  top: 40px;
  left: -30px;
  width: 200px;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.floating-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero-desc, .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-card-stack {
    margin: 0 auto;
    max-width: 360px;
    height: 380px;
  }
  
  .main-visual-card img {
    height: 320px;
  }
  
  .floating-overlay-card {
    right: -10px;
    bottom: 20px;
  }
  
  .floating-overlay-card-2 {
    left: -10px;
    top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

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

.about-img-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-left: 5px solid var(--primary);
  border-top: 5px solid var(--primary);
  border-top-left-radius: var(--radius-md);
  z-index: 1;
}

.about-img-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-experience-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  text-align: center;
  z-index: 2;
}

.about-experience-badge h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-experience-badge p {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-top: 4px;
}

/* About Tabs system */
.tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 30px;
  padding-bottom: 1px;
}

.tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 12px 16px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.tab-content-wrapper {
  position: relative;
  min-height: 250px;
}

.tab-pane {
  display: none;
  animation: tab-fade-in 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pane-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pane-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.pane-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  
  .about-img-frame img {
    height: 360px;
  }
  
  .about-experience-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -40px;
    width: 260px;
  }
}

@media (max-width: 480px) {
  .tabs-nav {
    flex-direction: column;
    gap: 0;
  }
  
  .tab-btn {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
  
  .tab-btn.active::after {
    bottom: -1px;
  }
  
  .pane-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   STATS COUNTER SECTION
   ========================================== */
.stats-section {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

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

.stat-card {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
/* Modernized Services split-screen layout */
.modern-services-container {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 50px;
}

/* Services spotlight showcase card */
.services-spotlight {
  display: flex;
  align-items: stretch;
}

.service-spotlight-card {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  transition: all var(--transition-smooth);
  animation: service-spotlight-fade-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes service-spotlight-fade-in {
  from { opacity: 0; transform: translateY(15px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.service-spotlight-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-spotlight-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.12);
  transition: all var(--transition-smooth);
}

.service-spotlight-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.service-spotlight-cta:hover {
  gap: 12px;
}

/* Left side list sidebar */
.services-list-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.service-list-item:hover {
  border-color: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.3);
  transform: translateX(6px);
}

.service-list-item.active {
  border-color: var(--primary);
  background-color: var(--bg-surface-alt);
  box-shadow: var(--shadow-sm);
  transform: translateX(10px);
}

.service-list-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color var(--transition-smooth);
}

.service-list-item.active .service-list-num {
  color: var(--primary);
}

.service-list-info {
  flex-grow: 1;
}

.service-list-info h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  transition: color var(--transition-smooth);
}

.service-list-item.active .service-list-info h3 {
  color: var(--primary);
}

.service-list-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.service-list-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition-smooth);
}

.service-list-item:hover .service-list-arrow {
  transform: translateX(4px);
}

.service-list-item.active .service-list-arrow {
  color: var(--primary);
  transform: translateX(6px);
}

/* Responsive service grid layouts */
@media (max-width: 992px) {
  .modern-services-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-list-item.active {
    transform: none;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 30px;
  }
}

/* ==========================================
   INDUSTRIES WE SERVE SECTION
   ========================================== */
.industries-section {
  background: radial-gradient(circle at top right, hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.03) 0%, transparent 60%);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Modern Industries Tabbed Slideshow */
.modern-industries-container {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 50px;
}

/* Left Sidebar Tabs */
.industries-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.industry-tab-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}

.industry-tab-item:hover {
  border-color: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.3);
  transform: translateX(6px);
}

.industry-tab-item.active {
  border-color: var(--primary);
  background-color: var(--bg-surface-alt);
  box-shadow: var(--shadow-sm);
  transform: translateX(10px);
}

.industry-tab-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color var(--transition-smooth);
}

.industry-tab-item.active .industry-tab-num {
  color: var(--primary);
}

.industry-tab-content {
  flex-grow: 1;
}

.industry-tab-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  transition: color var(--transition-smooth);
}

.industry-tab-item.active .industry-tab-content h4 {
  color: var(--primary);
}

.industry-tab-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.industry-tab-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all var(--transition-smooth);
}

.industry-tab-item:hover .industry-tab-arrow {
  transform: translateX(4px);
}

.industry-tab-item.active .industry-tab-arrow {
  color: var(--primary);
  transform: translateX(6px);
}

/* Timer progress bar line */
.timer-progress-bar {
  width: 100%;
  height: 3px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 8px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.industry-tab-item.active .timer-progress-bar,
.service-list-item.active .timer-progress-bar {
  opacity: 1;
}

.timer-progress {
  width: 0%;
  height: 100%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

/* Right Spotlight Showcase Card */
.industries-spotlight {
  display: flex;
  align-items: stretch;
}

.spotlight-card {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  transition: all var(--transition-smooth);
  animation: spotlight-fade-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes spotlight-fade-in {
  from { opacity: 0; transform: translateY(15px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.spotlight-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spotlight-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.spotlight-icon-box svg {
  width: 26px;
  height: 26px;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.spotlight-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.spotlight-visual {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.spotlight-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

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

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

/* ==========================================
   CEO & FOUNDERS / TEAM SECTION
   ========================================== */
.team-section {
  background-color: var(--bg-surface-alt);
}

.founders-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 980px;
  margin: 0 auto 80px auto;
}

.founder-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-bounce);
}

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

.founder-img-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  padding: 6px;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.founder-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.founder-title {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.founder-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.founder-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: auto;
}

.founder-stat-item {
  flex: 1;
}

.founder-stat-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.founder-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Other leadership team */
.team-sub-header {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.team-sub-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.team-card {
  padding: 30px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-img-wrapper {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
}

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

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.team-member-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-member-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.team-member-exp {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-surface-alt);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .founders-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--bg-surface-alt);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform var(--transition-smooth);
}

.gallery-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(10px);
  transition: transform var(--transition-smooth);
  transition-delay: 0.05s;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-tag {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-info {
  margin-top: 20px;
  text-align: center;
  color: #ffffff;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.lightbox-category {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  z-index: 2010;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2010;
}

.lightbox-nav:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

@media (max-width: 768px) {
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-close { top: 20px; right: 24px; }
}

/* ==========================================
   ARTICLES & BLOG SECTION
   ========================================== */
.blog-section {
  background-color: var(--bg-surface-alt);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-bounce);
}

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

.blog-img-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.blog-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

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

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  cursor: pointer;
}

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

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

/* Blog Article Modal Overlay */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.blog-modal.active {
  display: flex;
  opacity: 1;
}

.blog-modal-container {
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px);
  transition: transform var(--transition-bounce);
}

.blog-modal.active .blog-modal-container {
  transform: translateY(0);
}

.blog-modal-header-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 0;
}

.blog-modal-body {
  padding: 40px;
}

.blog-modal-category {
  display: inline-block;
  background-color: var(--primary-glow);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.blog-modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.blog-modal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.blog-modal-content {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.8;
}

.blog-modal-content p {
  margin-bottom: 20px;
}

.blog-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.blog-modal-close:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .blog-modal-header-img { height: 200px; }
  .blog-modal-body { padding: 24px; }
  .blog-modal-title { font-size: 1.5rem; }
}

/* ==========================================
   CONTACT US SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-card-item {
  display: flex;
  gap: 20px;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-details h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-details p {
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--primary);
}

/* Embedded Map Styling */
.map-container {
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}

body.dark-theme .map-container iframe {
  filter: none;
}

/* Form Styles */
.contact-form-panel {
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.contact-form-panel form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-form-panel .message-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-form-panel .message-group textarea {
  flex-grow: 1;
  min-height: 180px;
  resize: none;
}

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

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-surface);
  box-shadow: var(--primary-glow);
}

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

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

@media (max-width: 580px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-panel {
    padding: 24px;
  }
}

/* Custom Notification Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border-left: 5px solid var(--success);
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: all var(--transition-bounce);
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 24px;
  height: 24px;
  color: var(--success);
  background-color: var(--success-glow);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.toast-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.toast-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--secondary);
  color: #f8fafc;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-about .logo-text span:first-child {
  color: #ffffff;
}

.footer-about-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

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

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  position: relative;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-newsletter-text {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  background-color: var(--primary);
  color: #ffffff;
  padding: 0 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
}

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

.newsletter-btn svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

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

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-primary);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-bounce);
}

.scroll-top.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS SETUP
   ========================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-fade-in {
  transform: scale(0.98);
}

.reveal-slide-up {
  transform: translateY(40px);
}

.reveal-slide-left {
  transform: translateX(-40px);
}

.reveal-slide-right {
  transform: translateX(40px);
}

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

/* Stagger reveals */
.reveal-stagger-1 { transition-delay: 0.1s; }
.reveal-stagger-2 { transition-delay: 0.2s; }
.reveal-stagger-3 { transition-delay: 0.3s; }
.reveal-stagger-4 { transition-delay: 0.4s; }
.reveal-stagger-5 { transition-delay: 0.5s; }

/* ==========================================
   ADMIN PORTAL SPECIFIC STYLING
   ========================================== */

/* 1. Glassmorphic Lock Screen */
.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.admin-login-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.login-card.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.login-logo img {
  height: 60px;
  width: auto;
}

.login-logo h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.1;
}

.login-logo span {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.login-error {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

/* 2. Admin Dashboard Layout Wrapper */
.admin-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: var(--bg-base);
}

/* Sidebar panel */
.admin-sidebar {
  width: 260px;
  height: 100%;
  background-color: var(--secondary);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
  padding: 30px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header .logo-text span:first-child {
  color: #ffffff;
}

.sidebar-menu {
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.sidebar-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-btn:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.sidebar-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Main content body */
.admin-main {
  flex-grow: 1;
  height: 100%;
  overflow-y: auto;
  padding: 40px;
}

/* ==========================================
   ADMIN PORTAL RESPONSIVE DRAWER (HAMBURGER)
   ========================================== */
.admin-mobile-topbar {
  display: none;
  height: 70px;
  background-color: var(--secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  box-shadow: var(--shadow-md);
}
.topbar-brand { display: flex; align-items: center; gap: 12px; }
.topbar-brand img { height: 36px; width: auto; object-fit: contain; }
.topbar-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #ffffff; }

.admin-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  z-index: 1005;
}
.admin-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.admin-hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.admin-hamburger.active span:nth-child(2) { opacity: 0; }
.admin-hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.admin-sidebar-overlay.active { opacity: 1; pointer-events: auto; display: block; }

@media (max-width: 992px) {
  .admin-mobile-topbar { display: flex; }
  .admin-sidebar-overlay { display: block; }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 1002;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { padding: 100px 20px 40px 20px !important; }
}

@media (max-width: 768px) {
  .admin-main {
    padding: 20px;
  }
}

/* 3. Panel structures */
.admin-panel {
  display: none;
  animation: tab-fade-in 0.4s ease forwards;
}

.admin-panel.active {
  display: block;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.admin-panel-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.admin-panel-title span {
  color: var(--primary);
}

/* 4. Dashboard Overview Cards */
.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.overview-card {
  padding: 30px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
}

.overview-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-icon svg {
  width: 26px;
  height: 26px;
}

.overview-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.overview-details p {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

/* 5. Inquiries & Logs Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.leads-table th {
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.leads-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: top;
}

.leads-table tr:last-child td {
  border-bottom: 0;
}

.leads-table tr:hover td {
  background-color: rgba(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.02);
}

.badge-service {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--primary-glow);
  color: var(--primary);
  white-space: nowrap;
}

.btn-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-danger:hover {
  background-color: #ef4444;
  color: #ffffff;
  transform: translateY(-2px);
}

.empty-state {
  padding: 60px 40px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state svg {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  opacity: 0.5;
  color: var(--text-muted);
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

/* 6. Form Upload Panels & Preview Cards */
.admin-form-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

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

.admin-form-box {
  padding: 30px;
  border-radius: var(--radius-md);
}

.preview-box-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.preview-container {
  display: flex;
  justify-content: center;
}

.preview-container .blog-card,
.preview-container .gallery-item {
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  pointer-events: none; /* Disable modals in preview */
}

/* 7. Manage Listings Lists */
.manage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.manage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.manage-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-light);
}

.manage-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.manage-item-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.manage-item-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manage-item-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 8. Code Snippet Copy boxes */
.code-copy-box {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 20px;
  border-radius: var(--radius-sm);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin: 20px 0;
  position: relative;
  max-height: 300px;
}

.btn-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

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

.step-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 8px;
}

/* ==========================================
   DESKTOP SCREEN HEIGHT & SIZE OPTIMIZATIONS
   ========================================== */
@media (min-width: 992px) {
  /* Tighten padding specifically for Services and Industries sections to fit viewport */
  #services.section-padding,
  .industries-section.section-padding {
    padding: 60px 0;
  }
  
  #services .section-header,
  .industries-section .section-header {
    margin-bottom: 24px;
  }
  
  /* Update container grid ratio to support wider 2-column sidebar lists on left, spotlight on right */
  .modern-services-container,
  .modern-industries-container {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    margin-top: 24px;
    gap: 40px;
    align-items: center;
  }
  
  /* Make sidebar list 2-in-a-row side-by-side cards */
  .services-list-sidebar,
  .industries-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }
  
  /* Make list cards more compact */
  .service-list-item,
  .industry-tab-item {
    padding: 10px 16px;
    gap: 12px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Upward translateY shift animations for grid cells instead of horizontal translation */
  .service-list-item:hover,
  .industry-tab-item:hover {
    transform: translateY(-4px);
  }
  
  .service-list-item.active,
  .industry-tab-item.active {
    transform: translateY(-6px);
  }
  
  .service-list-info h3,
  .industry-tab-content h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }
  
  .service-list-info p,
  .industry-tab-content p {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  
  .service-list-num,
  .industry-tab-num {
    font-size: 1.15rem;
  }
  
  /* Tighten spotlight card dimensions */
  .service-spotlight-card,
  .spotlight-card {
    padding: 32px;
    gap: 20px;
  }
  
  .service-spotlight-icon-box,
  .spotlight-icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  
  .service-spotlight-icon-box svg,
  .spotlight-icon-box svg {
    width: 22px;
    height: 22px;
  }
  
  .service-spotlight-title,
  .spotlight-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .service-spotlight-desc,
  .spotlight-desc {
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  
  .spotlight-visual {
    height: 280px;
  }
  
  /* ==========================================
     CONTACT US VIEWPORT HEIGHT OVERRIDES
     ========================================== */
  #contact.section-padding {
    padding: 60px 0;
  }
  
  #contact .section-header {
    margin-bottom: 24px;
  }
  
  .contact-grid {
    gap: 30px;
  }
  
  .contact-info-panel {
    gap: 20px;
  }
  
  .contact-card-item {
    gap: 14px;
  }
  
  .contact-icon-wrapper {
    width: 42px;
    height: 42px;
  }
  
  .contact-icon-wrapper svg {
    width: 20px;
    height: 20px;
  }
  
  .contact-details h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  
  .contact-details p {
    font-size: 0.85rem;
  }
  
  .map-container {
    height: 280px;
    margin-top: 4px;
  }
  
  .contact-form-panel {
    padding: 24px 30px;
  }
  
  .contact-form-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }
  
  .form-group-row,
  .form-group {
    margin-bottom: 12px;
  }
  
  .form-label {
    margin-bottom: 4px;
    font-size: 0.8rem;
  }
  
  .form-control {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  textarea.form-control {
    min-height: 85px;
    font-size: 0.85rem;
  }
  
  /* ==========================================
     INSIGHTS & BLOG VIEWPORT HEIGHT OVERRIDES
     ========================================== */
  #blog.section-padding {
    padding: 60px 0;
  }
  
  #blog .section-header {
    margin-bottom: 24px;
  }
  
  .blog-grid {
    gap: 24px;
  }
  
  .blog-img-box {
    height: 140px; /* Reduced from aspect-ratio 16/9 (~225px) */
    aspect-ratio: auto;
  }
  
  .blog-body {
    padding: 16px 20px; /* Reduced from 30px */
  }
  
  .blog-meta {
    margin-bottom: 6px; /* Reduced from 12px */
  }
  
  .blog-card-title {
    font-size: 1.05rem; /* Reduced from 1.3rem */
    margin-bottom: 8px; /* Reduced from 12px */
    line-height: 1.35;
  }
  
  .blog-card-desc {
    font-size: 0.82rem; /* Reduced from 0.95rem */
    -webkit-line-clamp: 2; /* Reduced from 3 lines */
    margin-bottom: 12px; /* Reduced from 24px */
  }
}

/* ==========================================
   ADDITIONAL RESPONSIVENESS OVERRIDES
   ========================================== */

/* Admin dashboard steps checklist grid */
.admin-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

@media (max-width: 992px) {
  /* Industries container column stack */
  .modern-services-container,
  .modern-industries-container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    margin-top: 30px !important;
  }
  
  .services-list-sidebar,
  .industries-sidebar {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
  
  /* Industries spotlight card layout */
  .spotlight-card {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    gap: 24px !important;
  }
  
  /* Place image above text on mobile */
  .spotlight-visual {
    height: 240px !important;
    order: -1 !important;
  }
  
  /* Disable translation shifts on mobile active tabs */
  .industry-tab-item.active,
  .service-list-item.active {
    transform: none !important;
  }
  
  .service-spotlight-card {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  /* Admin portal layout adjustments */
  .admin-panel-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
  }
  
  .admin-panel-title {
    font-size: 1.5rem !important;
  }
  
  /* Compact admin sidebar header for mobile viewports */
  .sidebar-header {
    padding: 12px 16px !important;
    gap: 8px !important;
  }
  
  .sidebar-header img {
    max-height: 36px !important;
  }
  
  .sidebar-header div {
    font-size: 0.65rem !important;
  }
  
  /* Table touch scrolling smoothness */
  .table-responsive {
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Prevent squeezed table headers by forcing minimum width */
  .leads-table {
    min-width: 850px !important;
  }
  
  .admin-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 580px) {
  /* Grid inputs vertical spacing when stacked */
  .form-group-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  /* Fluid content padding adjustment for minor widths */
  .container {
    padding: 0 16px !important;
  }

  /* Header components scaling to fit mobile widths without wrapping */
  .logo {
    gap: 8px !important;
  }
  
  .logo img {
    height: 36px !important;
  }
  
  .logo-text {
    font-size: 1rem !important;
  }
  
  .logo-text span:last-child {
    font-size: 0.65rem !important;
    letter-spacing: 0.1em !important;
  }
  
  .header {
    height: 65px !important;
  }
  
  .header.scrolled {
    height: 60px !important;
  }
  
  .theme-toggle {
    width: 36px !important;
    height: 36px !important;
  }
  
  .menu-btn {
    width: 26px !important;
    height: 18px !important;
  }

  /* Hero section absolute overlay cards hide to prevent container overflow */
  .floating-overlay-card,
  .floating-overlay-card-2 {
    display: none !important;
  }
  
  .hero-card-stack {
    height: 330px !important;
  }
  
  .main-visual-card img {
    height: 270px !important;
  }

  /* Image height frame fluid scaling */
  .about-img-frame img {
    height: 300px !important;
  }

  /* Card layouts fluid columns */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Admin login overlay card resizing */
  .login-card {
    padding: 24px 20px !important;
    margin: 16px !important;
    max-width: calc(100% - 32px) !important;
  }
  
  .login-logo img {
    height: 48px !important;
  }
  
  .login-logo h2 {
    font-size: 1.2rem !important;
  }
}

/* ==========================================
   CLIENTS/COLLABORATORS LOGO CAROUSEL
   ========================================== */
.clients-section {
  padding: 60px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.clients-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: none; /* Removed left/right gradient shadows */
}

.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}

.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}

.clients-track {
  display: flex;
  width: calc(220px * 14);
  animation: scrollMarquee 25s linear infinite;
  align-items: center;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo-wrapper {
  width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: transform 0.3s ease;
}

.client-logo-wrapper svg,
.client-logo-wrapper img {
  width: 100%;
  max-width: 170px;
  height: auto;
  max-height: 55px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Grayscale-to-color hover effect for SVGs */
.client-logo-wrapper svg .brand-color {
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.client-logo-wrapper:hover svg .brand-color {
  fill: var(--brand-fill, var(--primary));
}

/* Hover scaling for client logo images (grayscale filter removed to keep brand colors fully visible) */
.client-logo-wrapper img {
  /* No filter by default to keep original brand colors visible */
}

.client-logo-wrapper:hover img {
  /* No filter on hover */
}

.client-logo-wrapper:hover {
  transform: scale(1.08);
}

body.dark-theme .clients-slider::before {
  background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}
body.dark-theme .clients-slider::after {
  background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}

@keyframes scrollMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-220px * 7), 0, 0);
  }
}

/* ==========================================
   CAREERS (CURRENT OPENINGS) SECTION
   ========================================== */
.careers-section {
  background-color: var(--bg-base);
}

.careers-filter-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.careers-search {
  max-width: 400px;
  width: 100%;
  position: relative;
}

.careers-search input {
  padding-left: 45px;
}

.careers-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.careers-select {
  max-width: 200px;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%236b7280' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'></path></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 20px;
  padding-right: 40px !important;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.job-card {
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.job-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0.8;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-glow);
}

.job-card-header {
  margin-bottom: 20px;
}

.job-card .job-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  border-bottom: none;
  padding-bottom: 0;
}

.job-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.job-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-details-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.job-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background-color: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.job-pill-primary {
  background-color: var(--primary-glow);
  color: var(--primary);
  border-color: transparent;
}

.job-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.job-card .job-desc {
  max-height: 100px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.job-desc ul, #jobModalDesc ul, #prevJobDesc ul {
  list-style-type: disc !important;
  margin-left: 20px !important;
  padding-left: 5px !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
.job-desc ol, #jobModalDesc ol, #prevJobDesc ol {
  list-style-type: decimal !important;
  margin-left: 20px !important;
  padding-left: 5px !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
.job-desc li, #jobModalDesc li, #prevJobDesc li {
  margin-bottom: 4px !important;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: auto;
}

.job-vacancies {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.job-vacancies span {
  color: var(--primary);
  font-size: 1rem;
}

.job-vacancies.low span {
  color: hsl(0, 75%, 50%);
  animation: pulseVacancies 1.5s infinite;
}

@keyframes pulseVacancies {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Careers Modal Styling */
.careers-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 40px 24px;
}

.careers-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.careers-modal-container {
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.careers-modal.active .careers-modal-container {
  transform: translateY(0);
}

.careers-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.careers-modal-close:hover {
  color: var(--primary);
}

.careers-modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.careers-modal-subtitle {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.careers-modal-section {
  margin-bottom: 20px;
}

.careers-modal-section h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.careers-modal-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.careers-modal-footer {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

.careers-modal-footer .btn {
  flex: 1;
}

.badge-status {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-status.active {
  background-color: var(--success-glow);
  color: var(--success);
}

.badge-status.inactive {
  background-color: hsla(0, 75%, 50%, 0.15);
  color: hsl(0, 75%, 50%);
}

@media (max-width: 768px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .careers-modal {
    padding: 16px;
  }
  .careers-modal-container {
    padding: 30px 20px;
  }
  .careers-modal-footer {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================
   SPECIALIZED RECRUITMENT SERVICES
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  transition: all var(--transition-bounce);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), hsl(var(--primary-hue), var(--primary-sat), 60%));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-smooth);
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
  transition: transform var(--transition-bounce);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.service-card:hover .service-icon-box svg {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card:nth-child(7) {
    grid-column: 2 / 3;
  }
}

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

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

/* Services scroller styles removed. Section overhauled to interactive grid layout. */

/* ==========================================
   TESTIMONIALS OVERHAULED MARQUEE SLIDER
   ========================================== */
.testimonials-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 15px 0;
}

/* Gradient fade masks for smooth visual blending */
.testimonials-slider::before,
.testimonials-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.testimonials-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface-alt) 0%, transparent 100%);
}

.testimonials-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface-alt) 0%, transparent 100%);
}

.testimonials-track {
  display: flex;
  width: max-content;
  animation: scrollTestimonialsMarquee 30s linear infinite;
  align-items: stretch;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonialsMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.testimonial-card {
  width: 340px;
  margin-right: 24px;
  flex-shrink: 0;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 15px var(--primary-glow);
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary-glow);
  font-family: Georgia, serif;
  margin-bottom: -10px;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 0.95rem;
}

.testimonial-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--primary-glow);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1px;
}

.testimonial-author-company {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}
