/* ==========================================
   AQUABLADE WATER JET SERVICES
   Design System & Styles
   ========================================== */

/* ==========================================
   CSS VARIABLES - DESIGN TOKENS
   ========================================== */
:root {
  /* Primary Colors - Icy Blue */
  --primary-100: #E0F7FA;
  --primary-200: #B2EBF2;
  --primary-300: #80DEEA;
  --primary-400: #4FC3F7;
  --primary-500: #00B8D4;
  --primary-600: #0097A7;
  --primary-700: #00838F;
  --primary-800: #006064;

  /* Secondary Colors - Slate Gray */
  --gray-100: #ECEFF1;
  --gray-200: #CFD8DC;
  --gray-300: #B0BEC5;
  --gray-400: #90A4AE;
  --gray-500: #607D8B;
  --gray-600: #546E7A;
  --gray-700: #455A64;
  --gray-800: #37474F;
  --gray-900: #263238;

  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --light-gray: #E8EAED;

  /* Accent Colors */
  --accent-success: #00C853;
  --accent-warning: #FFB300;
  --accent-error: #FF5252;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --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.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(79, 195, 247, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--off-white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* ==========================================
   GLASSMORPHISM COMPONENTS
   ========================================== */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
  background: rgba(38, 50, 56, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 100px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

/* Hide mobile-only Get Quote link on desktop */
.mobile-quote-link {
  display: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-links a {
  color: var(--gray-700);
  text-shadow: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-300);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.header.scrolled .nav-links a::after {
  background: var(--primary-500);
}

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

.header.scrolled .nav-links a:hover {
  color: var(--primary-600);
}

.nav-links a:hover::after {
  width: 80%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 184, 212, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary-500);
  color: var(--white);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--primary-800) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 184, 212, 0.2) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  border: none;
  padding: 0;
  color: var(--primary-300);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--gray-300);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-visual {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.6;
}

/* Water Jet Animation */
.water-jet {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.jet-nozzle {
  width: 60px;
  height: 120px;
  background: linear-gradient(180deg, var(--gray-500) 0%, var(--gray-700) 100%);
  border-radius: 10px 10px 5px 5px;
  position: relative;
  margin: 0 auto;
}

.jet-stream {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 4px;
  height: 300px;
  background: linear-gradient(180deg, var(--primary-400), var(--primary-500), transparent);
  transform: translateX(-50%);
  animation: jetPulse 1.5s ease-in-out infinite;
}

.jet-spray {
  position: absolute;
  left: 50%;
  top: calc(100% + 280px);
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
}

.spray-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-400);
  border-radius: 50%;
  animation: spray 1s ease-out infinite;
}

.spray-particle:nth-child(1) {
  animation-delay: 0s;
  left: 50%;
}

.spray-particle:nth-child(2) {
  animation-delay: 0.1s;
  left: 30%;
}

.spray-particle:nth-child(3) {
  animation-delay: 0.2s;
  left: 70%;
}

.spray-particle:nth-child(4) {
  animation-delay: 0.3s;
  left: 20%;
}

.spray-particle:nth-child(5) {
  animation-delay: 0.4s;
  left: 80%;
}

/* ==========================================
   MATERIALS SECTION
   ========================================== */
.materials {
  background: var(--white);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--gray-500);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.material-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

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

.material-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 2rem;
}

.material-card h4 {
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.material-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.material-specs {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: var(--space-md);
}

.spec {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.spec strong {
  display: block;
  color: var(--primary-600);
  font-size: 0.95rem;
}

/* ==========================================
   CALCULATOR SECTION
   ========================================== */
.calculator {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
}

.calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--primary-100), transparent);
  opacity: 0.5;
}

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

.calculator-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-gray);
  max-width: 900px;
  margin: 0 auto;
}

.calculator-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.calculator-header h2 {
  margin-bottom: var(--space-sm);
}

.calculator-header p {
  color: var(--gray-500);
}

.calculator-form {
  display: grid;
  gap: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  padding: var(--space-md);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23607D8B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 48px;
}

/* File Upload */
.file-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.file-upload:hover,
.file-upload.drag-over {
  border-color: var(--primary-500);
  background: var(--primary-100);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-600);
}

.file-upload h4 {
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.file-upload p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.file-upload .file-types {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.file-type-badge {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.file-info {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--primary-100);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
}

.file-info.visible {
  display: flex;
}

.file-info .file-name {
  font-weight: 600;
  color: var(--primary-700);
}

.file-info .remove-file {
  background: none;
  color: var(--gray-500);
  padding: var(--space-xs);
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

.file-info .remove-file:hover {
  color: var(--accent-error);
}

/* Calculate Button */
.calculate-btn {
  width: 100%;
  padding: var(--space-lg);
  font-size: 1.125rem;
  margin-top: var(--space-md);
}

/* ==========================================
   RESULTS TABLE
   ========================================== */
.results-section {
  display: none;
  margin-top: var(--space-2xl);
  animation: fadeInUp 0.5s ease;
}

.results-section.visible {
  display: block;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.results-header h3 {
  color: var(--gray-800);
}

.results-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.results-table th {
  background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--light-gray);
  color: var(--gray-700);
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table tbody tr:hover {
  background: var(--primary-100);
}

.results-table .highlight {
  color: var(--primary-600);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Summary Cards */
.results-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.summary-card {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.summary-card .label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: var(--space-sm);
}

.summary-card .value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.summary-card.secondary {
  background: linear-gradient(135deg, var(--gray-700), var(--gray-800));
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.25rem;
}

.feature-text h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.about-image::before {
  content: '';
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  right: calc(-1 * var(--space-xl));
  bottom: calc(-1 * var(--space-xl));
  background: linear-gradient(135deg, var(--primary-200), var(--primary-300));
  border-radius: var(--radius-xl);
  z-index: -1;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-4xl);
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--light-gray);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.footer-brand .logo img {
  height: 100px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item .icon {
  color: var(--primary-400);
  font-size: 1.25rem;
}

.contact-item span {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

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

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jetPulse {

  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%) scaleY(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.02);
  }
}

@keyframes spray {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(50px) scale(0.5);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Loading State */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .water-jet {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  /* Hide Get Quote button on mobile - it will be in the menu */
  .nav>.btn-primary {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--primary-600);
    text-shadow: none;
    padding: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
    font-weight: 600;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  /* Hide mobile quote link on desktop, show on mobile */
  .mobile-quote-link {
    display: block !important;
  }

  .mobile-get-quote {
    display: block !important;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600)) !important;
    color: var(--white) !important;
    padding: var(--space-md) !important;
    border-radius: var(--radius-md) !important;
    text-align: center !important;
    font-weight: 600 !important;
    margin-top: var(--space-md);
    border-bottom: none !important;
  }

  .mobile-get-quote:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700)) !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn span {
    background: var(--white);
  }

  .header.scrolled .mobile-menu-btn span {
    background: var(--gray-700);
  }

  /* Logo sizing on mobile */
  .logo img {
    height: 40px;
  }

  .hero {
    padding-top: 100px;
    text-align: center;
    min-height: auto;
    padding-bottom: var(--space-3xl);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .calculator-card {
    padding: var(--space-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .file-upload {
    padding: var(--space-xl);
  }

  /* Footer improvements */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: left;
  }

  .footer-column {
    text-align: left;
  }

  .footer-heading {
    margin-bottom: var(--space-md);
  }

  .footer-links {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Section padding adjustment */
  .section {
    padding: var(--space-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .results-summary {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-specs {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .calculator-card {
    padding: var(--space-lg);
  }

  .results-table th,
  .results-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }

  .summary-card .value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .results-summary {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-normal);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  background: #20BA5C;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

/* ==========================================
   WORK CAROUSEL
   ========================================== */
.work-carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gray-100);
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .work-carousel {
    max-width: 100%;
    height: 400px;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}