/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Brand Colors (from new logo) */
  --primary-navy: #2D3E50;
  --primary-navy-dark: #1A2A3A;
  --primary-navy-light: #3D5166;

  /* Accent Colors - Modern Teal/Cyan theme */
  --accent-teal: #0891B2;
  --accent-teal-light: #22D3EE;
  --accent-teal-dark: #0E7490;
  --accent-gradient: linear-gradient(135deg, #0891B2 0%, #22D3EE 100%);
  --accent-gradient-hover: linear-gradient(135deg, #0E7490 0%, #06B6D4 100%);

  /* Legacy mappings for compatibility */
  --primary-color: #0891B2;
  --secondary-color: #0E7490;
  --accent-color: #22D3EE;

  /* Keep old red variables but map to teal for any legacy usage */
  --accent-red: #0891B2;
  --accent-orange: #22D3EE;
  --accent-red-dark: #0E7490;

  /* Text Colors */
  --text-dark: #1A1A1A;
  --text-medium: #4A5568;
  --text-light: #718096;

  /* Background Colors */
  --bg-white: #FFFFFF;
  --bg-light: #F7FAFC;
  --bg-warm: #FFF9F5;
  --white: #FFFFFF;

  /* Border Colors */
  --border-color: #E2E8F0;
  --border-dark: #CBD5E0;

  /* Functional Colors */
  --success: #38A169;
  --warning: #DD6B20;
  --error: #E53E3E;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 35px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* Header and Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  text-decoration: none;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  background-image:
    linear-gradient(135deg, rgba(45, 62, 80, 0.92) 0%, rgba(26, 42, 58, 0.95) 100%),
    url('assets/laser-cleaning-hero1_169.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
  border: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(8, 145, 178, 0.4);
  background: var(--accent-gradient-hover);
}

.cta-button-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
  box-shadow: none;
}

.cta-button-secondary:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
}

/* Container and Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

h3 {
  font-size: 1.8rem;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid transparent;
  border-image: var(--accent-gradient) 1;
  position: relative;
}

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

.service-card h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-card a {
  color: var(--accent-red);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s, gap 0.3s;
}

.service-card a:hover {
  color: var(--accent-orange);
  gap: 0.75rem;
}

/* Benefits Section */
.benefits {
  background-color: var(--bg-light);
  padding: 4rem 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  font-size: 3rem;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.benefit-item p {
  color: var(--text-light);
}

/* Modern Benefits Section */
.benefits-modern {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.benefits-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.benefits-modern-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
}

.benefits-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.benefits-modern h2 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.benefits-intro {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(8, 145, 178, 0.4);
}

.benefit-card-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.benefit-card-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card-content h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.benefit-card-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.benefit-card-number {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

@media (max-width: 992px) {
  .benefits-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .benefits-modern h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .benefits-modern {
    padding: 3.5rem 1rem;
  }

  .benefits-header {
    margin-bottom: 2.5rem;
  }

  .benefits-modern h2 {
    font-size: 1.75rem;
  }

  .benefits-intro {
    font-size: 1rem;
  }

  .benefits-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

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

  .benefit-card-content h3 {
    font-size: 1.15rem;
  }

  .benefit-card-content p {
    font-size: 0.9rem;
  }

  .benefit-card-number {
    font-size: 3rem;
  }
}

/* Content Pages */
.page-header {
  background-image:
    linear-gradient(135deg, rgba(45, 62, 80, 0.92) 0%, rgba(26, 42, 58, 0.95) 100%),
    url('assets/laser-cleaning-hero1_169.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.content-section {
  padding: 3rem 0;
}

.content-section ul {
  margin-left: 2rem;
  margin-top: 1rem;
}

.content-section li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

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

/* Form validation styles */
.field-error {
  display: none;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-group input.input-error,
.form-group textarea.input-error,
.form-group select.input-error {
  border-color: #dc3545;
  background-color: #fff8f8;
}

.form-group input.input-error:focus,
.form-group textarea.input-error:focus,
.form-group select.input-error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-group input.input-valid,
.form-group textarea.input-valid,
.form-group select.input-valid {
  border-color: #28a745;
  background-color: #f8fff8;
}

.form-group input.input-valid:focus,
.form-group textarea.input-valid:focus,
.form-group select.input-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.submit-button {
  background: var(--accent-gradient);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  width: 100%;
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.submit-button:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

/* Footer */
footer {
  background-color: var(--primary-navy-dark);
  color: var(--white);
  padding: 0;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  max-width: 220px;
  height: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-gradient);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer Links Section */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: var(--white);
  transform: translateX(3px);
}

/* Footer Contact with Icons */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--accent-teal-light);
}

/* Footer CTA Button */
.footer-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-gradient);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit {
  font-size: 0.7rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */

/* Tablet devices (portrait) */
@media (max-width: 992px) {
  .header-container {
    padding: 1rem 1.5rem;
  }

  .hero {
    padding: 6rem 1.5rem;
  }

  .page-header {
    padding: 4rem 1.5rem;
  }

  .container {
    padding: 3rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Header and Navigation */
  .header-container {
    padding: 0.75rem 1rem;
  }

  .logo img {
    height: 50px;
  }

  .mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    font-size: 1.75rem;
    min-width: 44px;
    min-height: 44px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  nav ul li a {
    padding: 0.75rem;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    margin-top: 0.5rem;
    padding-left: 1rem;
    background-color: var(--bg-light);
  }

  .dropdown-content a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Hero Sections */
  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .page-header {
    padding: 3rem 1rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .page-header p {
    font-size: 1rem;
  }

  /* Buttons */
  .cta-button {
    width: 100%;
    padding: 1rem;
    min-height: 48px;
    font-size: 1rem;
  }

  .cta-button-secondary {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .submit-button {
    min-height: 48px;
    font-size: 1rem;
  }

  /* Typography */
  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Grids and Cards */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* Container */
  .container {
    padding: 2rem 1rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  /* Forms */
  .contact-form {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2rem;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-logo img {
    max-width: 200px;
  }

  .footer-tagline {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-column h4 {
    margin-bottom: 1rem;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
  }

  .footer-bottom {
    padding: 1.25rem 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logo img {
    height: 45px;
  }

  .service-card {
    padding: 1.25rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Ensure all interactive elements are touch-friendly */
  a, button, input, select, textarea {
    min-height: 44px;
  }

  .dropdown-content a {
    padding: 1rem 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* FAQ Accordion Styles */
.faq-section {
  margin-top: 3rem;
  padding: 2rem 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  font-family: inherit;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-teal);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.25rem 1.5rem;
}

.faq-answer p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* Trust Section Styles */
.trust-section {
  background: var(--bg-warm);
  padding: 4rem 2rem;
  margin: 3rem 0;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-badge {
  text-align: center;
  padding: 1rem;
}

.trust-badge-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.trust-badge-text {
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent-teal);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-medium);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  color: var(--primary-navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Service Guarantees */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.guarantee-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.guarantee-text h4 {
  color: var(--primary-navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.guarantee-text p {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Floating CTA Button (Mobile) */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}

.floating-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(8, 145, 178, 0.5);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(8, 145, 178, 0.6);
  }
}

@media (max-width: 768px) {
  .floating-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem;
  }

  .trust-badges {
    gap: 2rem;
  }

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

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

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-placeholder-image {
  font-size: 4rem;
  opacity: 0.8;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card h3 a:hover {
  color: var(--accent-red);
}

.blog-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Topic Tags */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.topic-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.topic-tag:hover {
  background: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
}

/* Blog Post Single Page Styles */
.blog-post-header {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.blog-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.blog-post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--text-medium);
}

.blog-post-content blockquote {
  border-left: 4px solid var(--accent-teal);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-light);
  font-style: italic;
  color: var(--text-medium);
}

.blog-cta-box {
  background: var(--bg-warm);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
  border: 1px solid var(--border-color);
}

.blog-cta-box h3 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.blog-cta-box p {
  color: var(--text-medium);
  margin-bottom: 1.25rem;
}

/* Table of Contents */
.toc-box {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.toc-box h4 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-box li {
  margin-bottom: 0.5rem;
}

.toc-box a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.toc-box a:hover {
  color: var(--accent-teal);
}

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

  .blog-post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* =====================================================
   CONVERSION OPTIMIZATION - Phase 5.2
   ===================================================== */

/* Scroll-Triggered CTA Bar */
.scroll-cta-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  background: var(--primary-navy);
  padding: 0.875rem 2rem;
  z-index: 998;
  transition: bottom 0.4s ease-in-out;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.scroll-cta-bar.visible {
  bottom: 0;
}

.scroll-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.scroll-cta-text {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scroll-cta-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.scroll-cta-text span {
  font-size: 0.875rem;
  opacity: 0.85;
}

.scroll-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-gradient);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.scroll-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}

.scroll-cta-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.3s;
}

.scroll-cta-close:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .scroll-cta-bar {
    padding: 0.75rem 1rem;
    /* Adjust for floating CTA button */
    bottom: -100px;
  }

  .scroll-cta-bar.visible {
    bottom: 70px;
  }

  .scroll-cta-container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .scroll-cta-text {
    align-items: center;
  }

  .scroll-cta-text strong {
    font-size: 0.9rem;
  }

  .scroll-cta-text span {
    font-size: 0.8rem;
  }

  .scroll-cta-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
  }

  .scroll-cta-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* Exit-Intent Modal */
.exit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.exit-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.exit-modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.exit-modal-overlay.visible .exit-modal {
  transform: scale(1) translateY(0);
}

.exit-modal-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.exit-modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.exit-modal-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}

.exit-modal-header h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.exit-modal-body {
  padding: 2rem;
  text-align: center;
}

.exit-modal-body p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.exit-modal-benefits {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.exit-modal-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.exit-modal-benefit svg {
  color: var(--accent-teal);
  flex-shrink: 0;
}

.exit-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent-gradient);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 1rem;
}

.exit-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.exit-modal-dismiss {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

.exit-modal-dismiss:hover {
  color: var(--text-dark);
}

.exit-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.exit-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  .exit-modal-header {
    padding: 1.5rem;
  }

  .exit-modal-header h3 {
    font-size: 1.25rem;
  }

  .exit-modal-body {
    padding: 1.5rem;
  }

  .exit-modal-benefits {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .exit-modal-cta {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}
