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

/* --- CUSTOM VARIABLES --- */
:root {
  /* Royal Blue & Gold Luxury Theme */
  --bg-primary: #0057b8; /* Royal Bright Blue */
  --bg-secondary: #00479a; /* Deep Royal Blue */
  --bg-secondary-card: #0b3161; /* Card Navy Surface */
  --bg-card: rgba(0, 58, 122, 0.45);
  --bg-card-hover: rgba(74, 144, 226, 0.3);
  --border-color: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(255, 255, 255, 0.35);
  
  --primary: #c5a059; /* Metallic Gold for primary highlights */
  --primary-rgb: 197, 160, 89;
  --secondary: #e2e8f0; /* Light Slate */
  --accent: #4a90e2; /* Secondary Blue */
  --accent-rgb: 74, 144, 226;
  
  --text-main: #ffffff; /* Solid White Text for high contrast on bright blue */
  --text-muted: #f1f5f9; /* Highly projectable bright white/gray text */
  --text-inverse: #0057b8; /* Royal Bright Blue for contrast text */
  
  --gradient-main: linear-gradient(135deg, #ffe5b4 0%, #c5a059 50%, #b8860b 100%); /* Gold metallic gradient */
  --gradient-accent: linear-gradient(135deg, #0057b8 0%, #4a90e2 100%); /* Royal blue gradient */
  --gradient-card: linear-gradient(145deg, rgba(0, 58, 122, 0.6) 0%, rgba(0, 71, 154, 0.4) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 87, 184, 0.8) 0%, #0057b8 100%);
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Button variables */
  --primary-btn-bg: #0057b8;
  --primary-btn-text: #ffffff;
  --primary-btn-hover: #00479a;

  /* Status Colors */
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #dc2626;

  /* Radial and Dot backgrounds */
  --radial-1: transparent;
  --radial-2: transparent;
  --grid-color: rgba(255, 255, 255, 0.08);
  --dot-size: 0.9px;
  --dot-color: rgba(255, 255, 255, 0.08); /* Very faint white dots (subtle background grid) */

  /* Footer, Headers, and Tabs */
  --bg-footer: #003366;
  --bg-header-trans: rgba(0, 87, 184, 0.75);
  --bg-header-solid: rgba(0, 87, 184, 0.95);
  --tab-active-bg: rgba(255, 255, 255, 0.15);
}

/* --- LIGHT THEME OVERRIDES --- */
[data-theme="light"] {
  --bg-primary: #f7fafc; /* Page Background */
  --bg-secondary: #eaf3ff; /* Light Blue Background */
  --bg-secondary-card: #ffffff; /* Surface/Card Background */
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(234, 243, 255, 0.85);
  --border-color: #dce6f2; /* Border Color */
  --border-glow: rgba(0, 87, 184, 0.15);
  
  --primary: #0057b8; /* Primary Brand Color */
  --primary-rgb: 0, 87, 184;
  --secondary: #4a90e2; /* Secondary Blue */
  --accent: #0057b8;
  
  --text-main: #0b1f3a; /* Primary Text (Dark Navy) */
  --text-muted: #64748b; /* Secondary Text */
  --text-inverse: #ffffff;
  
  --gradient-main: linear-gradient(135deg, #0057b8 0%, #0b1f3a 100%);
  --gradient-accent: linear-gradient(135deg, #0057b8 0%, #4a90e2 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(234, 243, 255, 0.5) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(247, 250, 252, 0.75) 0%, #f7fafc 100%);
  
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 31, 58, 0.08), 0 2px 4px -1px rgba(11, 31, 58, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(11, 31, 58, 0.08), 0 4px 6px -2px rgba(11, 31, 58, 0.04);
  --shadow-glow: 0 0 25px rgba(0, 87, 184, 0.08);

  /* Button variables */
  --primary-btn-bg: #0057b8;
  --primary-btn-text: #ffffff;
  --primary-btn-hover: #00479a;

  /* Radial and Dot backgrounds */
  --radial-1: rgba(0, 87, 184, 0.09);
  --radial-2: rgba(74, 144, 226, 0.07);
  --grid-color: rgba(11, 31, 58, 0.015);
  --dot-color: rgba(0, 87, 184, 0.12);
  
  /* Footer, Headers, and Tabs */
  --bg-footer: #0b1f3a;
  --bg-header-trans: rgba(247, 250, 252, 0.7);
  --bg-header-solid: rgba(247, 250, 252, 0.95);
  --tab-active-bg: #eaf3ff;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}
.theme-toggle-btn:hover {
  border-color: rgba(74, 144, 226, 0.3);
  background: rgba(74, 144, 226, 0.1);
}
[data-theme="light"] .theme-toggle-btn:hover {
  border-color: rgba(0, 87, 184, 0.3);
  background: rgba(0, 87, 184, 0.06);
}

/* --- RESET & GENERAL STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(var(--dot-color) var(--dot-size), transparent var(--dot-size));
  background-size: 4px 4px; /* 100% more concentrated dots grid size */
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.02em;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: 0; /* Make mesh gradients transparent to keep solid background */
}

[data-theme="light"] body::before {
  opacity: 0;
}

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

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

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

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

select option {
  background-color: #ffffff !important;
  color: #0b1f3a !important;
}
select option:disabled {
  color: #94a3b8 !important;
}

button {
  cursor: pointer;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- REUSABLE UTILITIES & COMPONENTS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

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

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-primary {
  background: var(--primary-btn-bg);
  color: var(--primary-btn-text);
  border: 1px solid var(--primary-btn-bg);
}

.btn-primary::before {
  display: none; /* Disable gradient */
}

.btn-primary:hover {
  background: var(--primary-btn-hover);
  border-color: var(--primary-btn-hover);
  color: var(--primary-btn-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 87, 184, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background: rgba(24, 24, 27, 0.5);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary::before {
  display: none;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(39, 39, 42, 0.8);
  color: var(--text-main);
  transform: translateY(-1px);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-2px);
}

/* --- NAVIGATION BAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-header-trans);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: var(--bg-header-solid);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-transform: lowercase;
}

.logo-main span {
  font-weight: 300;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.35em;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-background-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.hero-shape-1 {
  width: 40vw;
  height: 40vw;
  background: var(--primary);
  top: -10vw;
  right: -5vw;
}

.hero-shape-2 {
  width: 35vw;
  height: 35vw;
  background: var(--secondary);
  bottom: -5vw;
  left: -5vw;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  width: max-content;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

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

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
}

.hero-info-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-info-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Hero Visual Slider Showcase */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 11, 19, 0) 60%, rgba(7, 11, 19, 0.6) 100%);
  z-index: 1;
}

.hero-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.hero-badge-content h5 {
  font-size: 1rem;
  font-weight: 700;
}

.hero-badge-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  z-index: 10;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.prev-btn {
  left: 1.25rem;
}

.next-btn {
  right: 1.25rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 10px;
}

/* --- SERVICES & CAT FILTER --- */
.services-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.services-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  backdrop-filter: blur(8px);
  gap: 0.25rem;
}
.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}
.tab-btn:hover {
  color: var(--text-main);
}
.tab-btn.active {
  background: var(--tab-active-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.services-grid.fade-out {
  opacity: 0;
}

.service-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-main);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-items {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.service-item-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

/* --- GALLERY SECTION --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

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

.gallery-item.col-6 {
  grid-column: span 6;
}

.gallery-item.col-4 {
  grid-column: span 4;
}

.gallery-item.col-8 {
  grid-column: span 8;
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(7, 11, 19, 0.95) 0%, rgba(7, 11, 19, 0.3) 60%, rgba(7, 11, 19, 0.0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.gallery-item-zoom {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-normal);
  z-index: 3;
}

.gallery-item-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery-item-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hover effects */
.gallery-item:hover .gallery-item-img {
  transform: scale(1.06);
}

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

.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: scale(1);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 19, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

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

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

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

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.lightbox-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.lightbox-close {
  position: absolute;
  top: -4rem;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
  transition: var(--transition-normal);
}

.lightbox-close:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
  transform: rotate(90deg);
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.contact-card:hover .contact-card-icon {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.contact-card-details h5 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-card-details p, .contact-card-details a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

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

.branches-container {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.branches-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.branch-location h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.branch-location p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form-container {
  padding: 3rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(24, 24, 27, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
}

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

.form-submit-btn {
  width: 100%;
  border: none;
  font-size: 1.0625rem;
  margin-top: 1rem;
}

/* Form Feedback States */
.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: none;
  font-weight: 600;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: var(--success);
}

.form-feedback.error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--error);
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2.5rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contact-item span:first-child {
  color: var(--primary);
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 242, 254, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet View */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.25rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-info-grid {
    width: 100%;
    max-width: 600px;
  }
  
  .hero-image {
    height: 400px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .gallery-item.col-4, .gallery-item.col-6, .gallery-item.col-8 {
    grid-column: span 6;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  /* Mobile Navigation toggle */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-cta {
    display: none; /* Hide standard CTA on mobile navbar row, can put it in links menu */
  }
  
  /* Mobile Menu Hamburger Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .hero-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-tabs-container {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }
  
  .services-tabs {
    white-space: nowrap;
  }
  
  .tab-btn {
    padding: 0.625rem 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item.col-4, .gallery-item.col-6, .gallery-item.col-8 {
    grid-column: span 12;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .branches-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================== */
/*               CMS PORTAL STYLES                */
/* ============================================== */

/* Floating Admin Trigger */
.floating-admin-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: none;
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 99;
}

.floating-admin-btn:hover {
  transform: scale(1.1) rotate(30deg);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

/* Modal Overlay & Card */
.cms-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.cms-modal {
  width: 90%;
  max-width: 440px;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

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

.cms-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.cms-modal-close:hover {
  color: var(--text-main);
}

/* Slide-out Dashboard Panel */
.cms-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.cms-panel.active {
  transform: translateX(0);
}

.cms-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.cms-panel-close, .cms-logout-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cms-panel-close:hover {
  color: var(--text-main);
}

.cms-logout-btn:hover {
  color: var(--error);
}

/* CMS Panel Tabs */
.cms-panel-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border-color);
}

.cms-tab-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.cms-tab-link:hover {
  color: var(--text-main);
}

.cms-tab-link.active {
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
  border-color: rgba(0, 242, 254, 0.2);
}

/* Panel Scrollable Content */
.cms-panel-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.cms-tab-pane {
  display: none;
}

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

.cms-pane-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
}

.cms-tab-pane > .cms-pane-section-title:first-child {
  margin-top: 0;
}

.cms-badge {
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 50px;
  font-weight: 700;
  margin-left: 0.25rem;
}

/* CRUD Lists & Items */
.cms-crud-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cms-crud-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.cms-crud-item:hover {
  border-color: rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.cms-crud-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.cms-crud-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.cms-crud-item-meta h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-crud-item-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-crud-item-actions {
  display: flex;
  gap: 0.5rem;
}

.cms-action-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cms-action-btn.edit {
  color: var(--primary);
}

.cms-action-btn.edit:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: transparent;
}

.cms-action-btn.delete {
  color: var(--error);
}

.cms-action-btn.delete:hover {
  background: var(--error);
  color: var(--text-inverse);
  border-color: transparent;
}

/* Inquiries List Cards (Linear Style) */
.cms-inquiry-card {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  background: rgba(24, 24, 27, 0.6);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.cms-inquiry-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(24, 24, 27, 0.85);
  box-shadow: var(--shadow-md);
}

.cms-inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.cms-inquiry-sender {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cms-inquiry-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cms-inquiry-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.cms-inquiry-meta strong {
  color: var(--text-main);
  font-weight: 500;
}

.cms-inquiry-msg {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  word-break: break-word;
}

/* Linear-style Status Badge & Selects */
.ticket-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  letter-spacing: 0.02em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  border: 1px solid transparent;
}

.status-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
}

.status-pill.new {
  background: rgba(74, 144, 226, 0.08);
  color: #4a90e2;
  border-color: rgba(74, 144, 226, 0.15);
}

.status-pill.progress {
  background: rgba(245, 158, 11, 0.08);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.15);
}

.status-pill.resolved {
  background: rgba(22, 163, 74, 0.08);
  color: var(--success);
  border-color: rgba(22, 163, 74, 0.15);
}

.status-select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%252394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem top 50%;
  background-size: 0.5rem auto;
  cursor: pointer;
  transition: var(--transition-fast);
}

.status-select:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.04);
}

.status-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Sidebar Category Groupings */
.admin-sidebar-group {
  margin-top: 1.5rem;
}

.admin-sidebar-group:first-child {
  margin-top: 0;
}

.admin-sidebar-header {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  opacity: 0.6;
}

/* Responsive adjustment for CMS Panel */
@media (max-width: 600px) {
  .cms-panel {
    width: 100%;
  }
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
  z-index: 99;
}
.scroll-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-to-top-btn:hover {
  background: var(--primary-btn-hover);
  color: var(--primary-btn-text);
}

/* Scroll Animation Utilities */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.scroll-fade-in.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notification Overlays */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
  pointer-events: none;
}
.toast-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-secondary-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: auto;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
}
.toast-card.visible {
  transform: translateY(0);
  opacity: 1;
}
.toast-card.success i {
  color: var(--success);
}
.toast-card.error i {
  color: var(--error);
}
.toast-card.info i {
  color: var(--secondary);
}

/* Floating Labels Styling */
.floating-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.floating-group .form-input {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  height: 54px;
}
.floating-group textarea.form-input {
  height: auto;
  min-height: 140px;
  padding-top: 1.75rem;
}
.floating-group .floating-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left top;
}
.floating-group .form-input:focus ~ .floating-label,
.floating-group .form-input:not(:placeholder-shown) ~ .floating-label {
  transform: translateY(-0.65rem) scale(0.8);
  color: var(--text-muted);
  opacity: 0.8;
}

/* Admin Dashboard KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.kpi-card {
  background: var(--bg-secondary-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="light"] .kpi-card:hover {
  border-color: rgba(9, 9, 11, 0.16);
}
.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.kpi-card-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
}
.kpi-card-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}
.kpi-card-trend {
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.kpi-card-trend.up {
  color: var(--success);
}
.kpi-card-trend.neutral {
  color: var(--text-muted);
}

/* Analytics & Recent Activity Layouts */
.dashboard-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .dashboard-details-grid {
    grid-template-columns: 1fr;
  }
}
.dashboard-card {
  background: var(--bg-secondary-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.dashboard-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

/* Dynamic CSS Analytics Horizontal Bars */
.analytics-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.analytics-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.analytics-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 500;
}
.analytics-label {
  color: var(--text-main);
}
.analytics-val {
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.analytics-bar-bg {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}
[data-theme="light"] .analytics-bar-bg {
  background: var(--bg-secondary);
}
.analytics-bar-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 4px;
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Recent Activity List */
.recent-activity-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.activity-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}
.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.activity-item-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}
.activity-item-name {
  font-weight: 600;
  color: var(--text-main);
}
.activity-item-time {
  color: var(--text-muted);
}
.activity-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Interactive Table Header & Controls styling */
.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-secondary-card);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.table-search-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
  max-width: 380px;
  position: relative;
}
.table-search-group i {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
}
.table-search-group .form-input {
  padding-left: 2.25rem;
  height: 38px;
}
.table-filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.table-filter-select {
  height: 38px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 1.75rem 0.25rem 0.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%252394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem top 50%;
  background-size: 0.55rem auto;
  cursor: pointer;
  transition: var(--transition-fast);
}
.table-filter-select:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.04);
}
[data-theme="light"] .table-filter-select {
  background-color: var(--bg-secondary-card);
  border-color: var(--border-color);
}
[data-theme="light"] .table-filter-select:hover {
  border-color: var(--border-glow);
  background-color: rgba(0, 87, 184, 0.03);
}
.table-filter-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Pagination panel */
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pagination-btn {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}
.pagination-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="light"] .pagination-btn:hover:not(:disabled) {
  border-color: rgba(9, 9, 11, 0.16);
  background: rgba(9, 9, 11, 0.02);
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Spinner Loading State Indicator */
.spinner-icon {
  animation: fa-spin 1s infinite linear;
}


/* Service Detail Split Layout */
.service-split-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

@media (min-width: 992px) {
  .service-split-container.has-sidebar {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

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

.service-sidebar-gallery .gallery-item {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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