/* =========================================
   Variables & Foundation
   ========================================= */
:root {
  /* Color Scheme */
  --clr-black: #000000;
  --clr-white: #ffffff;
  --clr-blue-mid: #5A79C2;
  --clr-blue-light: #98AFDD;
  --clr-blue-dark: #0B1538;

  /* Typography: Professional, high-performance system font stack */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
}

/* Modern CSS Reset for Cross-Browser Consistency */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* 16px base */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--clr-black);
  background-color: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Responsive Media */
img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================
   Layout & Reusable Classes
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* =========================================
   Header & Navigation (Ultra-Slim Mobile)
   ========================================= */
.site-header {
  background-color: var(--clr-white);
  border-bottom: 1px solid var(--clr-blue-light);
  padding: 0.25rem 0; /* Reduced for slimmer height */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  flex-direction: column;
}

.brand-row {
  display: flex;
  justify-content: space-between; /* Spaces Logo, Button, and Hamburger evenly */
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}

.site-logo {
  max-width: 140px; /* Slimmer for mobile row fit */
  height: auto;
  display: block;
}

.brand-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem; /* Creates a clean gap between the Button and the Hamburger */
  /* We removed justify-content: space-between so they stop spreading out */
}

/* Mobile Button */
.btn-contact-header {
  margin-left: auto; /* THE MAGIC TRICK: Pushes this button as far right as possible */
  background-color: var(--clr-blue-mid);
  color: var(--clr-white);
  padding: 0.4rem 0.75rem; 
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem; 
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

/* Hamburger Icon (Slimmer profile) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-bar {
  width: 28px;
  height: 3px;
  background-color: var(--clr-blue-dark);
  border-radius: 10px;
}

/* Hidden Mobile Nav */
.main-nav {
  display: none;
  width: 100%;
}

.main-nav.is-open {
  display: block;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  margin-top: 0.5rem;
}

/* Base styling for all navigation links */
.main-nav a {
  text-decoration: none !important; /* Forces all underlines to disappear */
  color: var(--clr-blue-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Hover effect (When the mouse is over the link) */
.main-nav a:hover {
  color: var(--clr-blue-mid); /* Changes to your lighter brand blue */
}

/* Active State (The page you are currently on) */
.main-nav a.active {
  color: var(--clr-blue-mid); /* Uses the lighter blue to show it's selected */
  font-weight: 800; /* Makes the active text slightly bolder so it stands out */
}

  /* The Custom Active Link underline */
  .main-nav a.active {
    color: var(--clr-blue-mid);
    font-weight: 700;
  }

/* --- Desktop Styling (Restored and Refined) --- */
@media (min-width: 768px) {
  .site-header {
    padding: 0.5rem 0; /* Standard desktop height */
  }

  .header-inner {
    flex-direction: row;
    justify-content: flex-end; /* Aligns everything to the right by default */
    align-items: center;
  }
  
  /* The Magic Fix: Unwraps the mobile container on desktop */
  .brand-row {
    display: contents; 
  }

  /* Pushes the logo to the far left, forcing the menu and button to the right */
  .logo-link {
    order: 1;
    margin-right: auto; 
  }

  .site-logo {
    max-width: 180px; /* Full size for desktop */
  }

  .menu-toggle {
    display: none; 
  }

  .main-nav {
    display: flex;
    order: 2; /* Puts menu in the middle */
    padding-right: 2rem;
    width: auto;
  }

  .main-nav .nav-list {
    flex-direction: row;
    border-top: none;
    padding: 0;
    margin-top: 0;
    gap: 1.5rem;
  }

  .btn-contact-header {
    width: auto;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    order: 3; /* Forces the button to the far right */
  }
}
/* =========================================
   Hero Section (Slim Banner & Strip)
   ========================================= */
.hero-banner-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-image-wrapper {
  width: 100%;
  /* Restricts height to keep it slim, especially on large screens */
  max-height: 250px; 
  overflow: hidden;
  background-color: var(--clr-black); /* Fallback color */
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space without distortion */
  object-position: center;
  display: block;
}

.hero-text-strip {
  background-color: var(--clr-blue-dark); /* #0B1538 */
  color: var(--clr-white);
  padding: var(--spacing-md) 0;
  text-align: center;
}

.strip-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-blue-light); /* #98AFDD for a subtle accent */
  margin: 0;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .hero-image-wrapper {
    max-height: 350px; /* Slightly taller on desktop but still slim */
  }

  .hero-text-strip {
    padding: var(--spacing-lg) 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}
/* =========================================
   Section 1: Custom-Coded Advantage
   ========================================= */
.custom-advantage {
  padding: var(--spacing-lg) var(--spacing-sm);
  text-align: center;
}

.advantage-intro {
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
}

.advantage-intro h2 {
  color: var(--clr-blue-dark); /* #0B1538 */
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.anti-bloat-text {
  color: var(--clr-blue-mid); /* #5A79C2 */
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.advantage-description {
  font-size: 1.1rem;
  color: #333;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.advantage-card {
  background-color: #f8f9fa; /* Very light grey for contrast against white body */
  border: 1px solid var(--clr-blue-light); /* #98AFDD */
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(11, 21, 56, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.advantage-card h3 {
  color: var(--clr-blue-dark);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.advantage-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .advantage-intro h2 {
    font-size: 2.5rem;
  }
}
/* =========================================
   Section 2: Portfolio Showcase
   ========================================= */
.portfolio-showcase {
  padding: var(--spacing-lg) var(--spacing-sm);
}

.portfolio-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
}

.portfolio-header h2 {
  color: var(--clr-blue-dark);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.portfolio-header p {
  font-size: 1.1rem;
  color: #555;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.portfolio-card {
  background-color: var(--clr-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(11, 21, 56, 0.15);
}

.portfolio-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--clr-blue-light);
}

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

/* CSS-only Image Zoom on Hover */
.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 1.5rem;
}

.project-tier {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clr-blue-mid);
  margin-bottom: 0.5rem;
}

.portfolio-content h3 {
  color: var(--clr-blue-dark);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: #444;
  font-size: 0.95rem;
  margin: 0;
}

.portfolio-cta {
  text-align: center;
  margin-top: var(--spacing-md);
}

/* Secondary Button Style */
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--clr-blue-dark);
  border: 2px solid var(--clr-blue-dark);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--clr-blue-dark);
  color: var(--clr-white);
  outline: none;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid for 4 items */
  }
  
  .portfolio-header h2 {
    font-size: 2.5rem;
  }
}
/* =========================================
   Section 3: Services & Packages Overview
   ========================================= */
.services-overview {
  padding: var(--spacing-lg) var(--spacing-sm);
  background-color: var(--clr-white);
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
}

.services-header h2 {
  color: var(--clr-blue-dark);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.services-header p {
  font-size: 1.1rem;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.service-card {
  background-color: #f8f9fa;
  border: 1px solid var(--clr-blue-light);
  border-radius: 8px;
  padding: 2.5rem 1.5rem 1.5rem; /* Extra top padding for alignment */
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(11, 21, 56, 0.1);
}

/* Highlight for the 5-Page Package */
.popular-card {
  border: 2px solid var(--clr-blue-mid);
  background-color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(90, 121, 194, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--clr-blue-mid);
  color: var(--clr-white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.service-card h3 {
  color: var(--clr-blue-dark);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.service-target {
  font-weight: 600;
  color: var(--clr-blue-mid);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-desc {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Pushes the list to the bottom evenly across all cards */
}

.service-features {
  list-style: none;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.service-features li {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

/* Custom checkmark using CSS */
.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clr-blue-mid);
  font-weight: bold;
}

.services-cta {
  text-align: center;
}

/* Reusable Primary Button Style (also applied to Hero) */
.btn-primary {
  display: inline-block;
  background-color: var(--clr-blue-mid);
  color: var(--clr-white);
  padding: 0.75rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--clr-blue-dark);
  color: var(--clr-white);
  outline: none;
  transform: scale(1.02);
}

/* Desktop & Tablet Enhancements */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
  }
}
/* =========================================
   Section 4: Performance Guarantee
   ========================================= */
.performance-guarantee {
  background-color: var(--clr-blue-dark); /* #0B1538 */
  color: var(--clr-white);
  padding: var(--spacing-lg) var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.guarantee-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

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

.guarantee-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--clr-white);
}

.guarantee-text p {
  font-size: 1.1rem;
  color: var(--clr-blue-light); /* #98AFDD */
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  margin-top: var(--spacing-md);
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #00C853; /* Google PageSpeed Green */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #00C853;
  margin-bottom: 1rem;
  background-color: rgba(0, 200, 83, 0.1);
}

.metric-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--clr-white);
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--clr-blue-light);
}

/* =========================================
   Section 5: Final Call-to-Action
   ========================================= */
.final-cta {
  padding: var(--spacing-lg) var(--spacing-sm);
  text-align: center;
}

.cta-content {
  background-color: var(--clr-blue-light); /* #98AFDD */
  padding: 3rem 1.5rem;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--clr-blue-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--clr-blue-dark);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* A specialized secondary button for light backgrounds */
.btn-secondary-light {
  display: inline-block;
  background-color: transparent;
  color: var(--clr-blue-dark);
  border: 2px solid var(--clr-blue-dark);
  padding: 0.75rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-secondary-light:hover,
.btn-secondary-light:focus {
  background-color: var(--clr-blue-dark);
  color: var(--clr-white);
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 in a row on desktop */
  }
  
  .cta-buttons {
    flex-direction: row; /* Buttons side-by-side on desktop */
  }
}
/* =========================================
   Footer (Injected via Component)
   ========================================= */
.site-footer {
  background-color: var(--clr-blue-dark); /* #0B1538 */
  color: var(--clr-white);
  padding-top: var(--spacing-lg);
  margin-top: auto; /* Pushes footer to bottom if page content is short */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  filter: brightness(0) invert(1); 
  margin-bottom: 1rem;
  margin-left: -40px; /* Increased to pull the image much further left */
}

.footer-blurb {
  color: var(--clr-blue-light); /* #98AFDD */
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links-col h3,
.footer-contact-col h3 {
  color: var(--clr-white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Small underline accent for section titles */
.footer-links-col h3::after,
.footer-contact-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--clr-blue-mid); /* #5A79C2 */
}

.footer-menu,
.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-menu li,
.footer-contact-info li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-menu a,
.footer-contact-info a {
  color: var(--clr-blue-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover,
.footer-contact-info a:hover {
  color: var(--clr-white);
}

.footer-contact-info strong {
  color: var(--clr-white);
}

.footer-bottom {
  background-color: #050a1f; /* Slightly darker shade for the very bottom bar */
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--clr-blue-light);
  border-top: 1px solid rgba(152, 175, 221, 0.1);
}

.bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.legal-links a {
  color: var(--clr-blue-light);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--clr-white);
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }

  .bottom-flex {
    flex-direction: row;
    justify-content: space-between;
  }
}
/* =========================================
   What We Do Page Specific Styles
   ========================================= */

/* Reusable Centered Header */
.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: var(--spacing-lg) auto var(--spacing-md);
}

.section-header-centered h2 {
  color: var(--clr-blue-dark);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.section-header-centered p {
  font-size: 1.1rem;
  color: #555;
}

/* =========================================
   Process Grid (4 Steps) - Premium Polish
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: var(--spacing-lg);
}

.process-card {
  background-color: var(--clr-white);
  border: 1px solid #eaeaea; /* Slightly softer border for a cleaner look */
  border-radius: 12px; /* Slightly rounder edges feel more modern */
  padding: 2rem; /* Equal padding for better visual balance */
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Softer, wider default shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden; /* CRITICAL: Keeps the large watermark from spilling outside the rounded corners */
}

/* 1. Premium Hover Interaction */
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(11, 21, 56, 0.08); /* Uses your brand navy for the shadow tint */
  border-color: var(--clr-blue-light);
}

/* 2. Refined Watermark styling */
.step-number {
  position: absolute;
  top: -1rem; /* Pushed higher into the corner */
  right: -1rem; /* Pushed slightly off the right edge */
  font-size: 8rem; /* Massive size creates the true watermark effect */
  font-weight: 900;
  color: var(--clr-blue-mid);
  opacity: 0.04; /* Very faint so it never distracts from the text */
  line-height: 1;
  z-index: 1;
  user-select: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Subtle animation: Watermark shifts and darkens slightly when you hover the card */
.process-card:hover .step-number {
  transform: scale(1.05) translate(-10px, 10px);
  opacity: 0.08;
}

/* Ensures the text stays "on top" of the watermark */
.process-card h3, 
.process-card p {
  position: relative;
  z-index: 2; 
}

/* 3. Typography Polish */
.process-card h3 {
  color: var(--clr-blue-dark);
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px; /* Tighter letter spacing for headings looks more professional */
}

.process-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6; /* More breathing room between lines of text */
  margin: 0;
}

/* --- Desktop Scaling (Ensure this is in your file!) --- */
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 across on desktop */
  }
}

/* Technical Blueprint Section */
.tech-blueprint {
  background-color: var(--clr-blue-dark);
  color: var(--clr-white);
  padding: var(--spacing-lg) var(--spacing-sm);
  margin: var(--spacing-lg) 0;
}

.tech-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tech-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--clr-white);
}

.tech-text p {
  font-size: 1.1rem;
  color: var(--clr-blue-light);
}

.tech-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tech-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--clr-blue-mid);
  font-size: 0.95rem;
  color: #e0e0e0;
}

.tech-list strong {
  display: block;
  color: var(--clr-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* Local SEO Section */
.local-seo-section {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-sm);
  background-color: #f8f9fa;
  border-radius: 12px;
  margin-bottom: var(--spacing-lg);
}

.local-content h2 {
  color: var(--clr-blue-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.local-content p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #555;
}

.areas-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-weight: 700;
  color: var(--clr-blue-mid);
  font-size: 1.1rem;
}

/* Simple CTA for bottom of pages */
.page-cta-simple {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.page-cta-simple h2 {
  color: var(--clr-blue-dark);
  margin-bottom: 1.5rem;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
  }

  .tech-inner {
    flex-direction: row;
    align-items: center;
  }

  .tech-text {
    flex: 1;
    padding-right: 2rem;
  }

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

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 in a row */
  }
}
/* =========================================
   Industries We Serve Section - Premium Polish
   ========================================= */
.industries-section {
  padding-bottom: var(--spacing-lg);
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.industry-pill {
  background-color: var(--clr-white);
  border: 2px solid var(--clr-blue-light); 
  color: var(--clr-blue-dark); 
  padding: 0.75rem 1.5rem;
  border-radius: 50px; 
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: default; 
  
  /* Initial state for the fade-in animation */
  opacity: 0;
  transform: translateY(15px);
  animation: pillPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; /* Gives it a slight "spring" effect */
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* 1. The Staggered Wave Effect (Applies delays to each pill) */
.industry-pill:nth-child(1) { animation-delay: 0.1s; }
.industry-pill:nth-child(2) { animation-delay: 0.2s; }
.industry-pill:nth-child(3) { animation-delay: 0.3s; }
.industry-pill:nth-child(4) { animation-delay: 0.4s; }
.industry-pill:nth-child(5) { animation-delay: 0.5s; }
.industry-pill:nth-child(6) { animation-delay: 0.6s; }
.industry-pill:nth-child(7) { animation-delay: 0.7s; }
.industry-pill:nth-child(8) { animation-delay: 0.8s; }

/* The Entrance Keyframes */
@keyframes pillPopIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Advanced Hover State (Only applies to devices with a mouse) */
@media (hover: hover) {
  .industry-pill:hover {
    background-color: var(--clr-blue-mid); 
    border-color: var(--clr-blue-mid);
    color: var(--clr-white);
    transform: translateY(-4px) scale(1.02); /* Slight lift AND scale */
    box-shadow: 0 8px 25px rgba(90, 121, 194, 0.25); /* Deeper, softer shadow */
  }
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .industry-pill {
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
  }
}
/* =========================================
   Portfolio Page Specific Styles
   ========================================= */

/* SEO Paragraph tweaks */
.seo-paragraph {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: var(--spacing-md);
  text-align: left;
}

@media (min-width: 768px) {
  .seo-paragraph {
    text-align: center;
  }
}

/* Screen Reader Only class (for accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Live Site Link Styling */
.live-site-link {
  display: inline-block;
  color: var(--clr-blue-mid);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.live-site-link:hover {
  color: var(--clr-blue-dark);
  text-decoration: underline;
}

/* HTML5 Details/Summary Dropdown Accordion */
.project-details-dropdown {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.project-details-dropdown summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--clr-blue-dark);
  font-size: 0.95rem;
  outline: none;
  list-style: none; /* Removes default triangle in some browsers */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

/* Custom dropdown arrow */
.project-details-dropdown summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--clr-blue-mid);
  transition: transform 0.3s ease;
}

.project-details-dropdown[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.project-details-dropdown summary:hover {
  color: var(--clr-blue-mid);
}

/* Customizes default summary marker for WebKit browsers */
.project-details-dropdown summary::-webkit-details-marker {
  display: none;
}

.project-details-dropdown ul {
  list-style: none;
  padding: 0.75rem 0 0 0;
  margin: 0;
  animation: slideDown 0.3s ease-out;
}

.project-details-dropdown li {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.project-details-dropdown li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--clr-blue-light);
}

.project-details-dropdown strong {
  color: var(--clr-blue-dark);
}

/* Smooth dropdown animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* =========================================
   Pricing Page Specific Styles
   ========================================= */

.pricing-section {
  padding-bottom: var(--spacing-lg);
}

.pricing-intro {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: var(--spacing-md);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: var(--spacing-md);
}

.pricing-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-blue-light);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11, 21, 56, 0.1);
}

/* Highlight the popular 5-Page Tier */
.popular-tier {
  border: 2px solid var(--clr-blue-mid);
  box-shadow: 0 4px 15px rgba(90, 121, 194, 0.15);
  transform: scale(1.02); /* Makes it slightly larger on desktop */
}

.popular-tier:hover {
  transform: scale(1.02) translateY(-5px);
}

.package-name {
  color: var(--clr-blue-dark);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.price-container {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--clr-blue-dark);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.price-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  width: 100%;
  text-align: center;
  margin-bottom: 0.25rem;
}

.price-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.custom-price .price-amount {
  font-size: 2.25rem; /* Smaller font for text instead of numbers */
  margin-top: 1rem;
}

.ideal-for {
  font-size: 0.9rem;
  color: var(--clr-blue-mid);
  background-color: rgba(152, 175, 221, 0.15);
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.ideal-for strong {
  display: block;
  color: var(--clr-blue-dark);
  margin-bottom: 0.25rem;
}

.package-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1; /* Pushes the button to the bottom so they all align */
}

.pricing-features li {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00C853; /* Use a success green for positive features */
  font-weight: bold;
}

.btn-pricing {
  width: 100%;
  text-align: center;
}

/* Value Reminder Section */
.value-reminder {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  border: 1px dashed var(--clr-blue-light);
}

.value-reminder h3 {
  color: var(--clr-blue-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.value-reminder p {
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}
/* =========================================
   Contact Page Specific Styles
   ========================================= */
.contact-section {
  padding: var(--spacing-lg) var(--spacing-sm);
  margin-top: -3rem; /* Creates the "overlap" effect with the hero strip */
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: var(--clr-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(11, 21, 56, 0.1);
}

.contact-info h3 {
  color: var(--clr-blue-dark);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.contact-details-list li {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-details-list strong {
  color: var(--clr-blue-mid);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Form Styling */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  color: var(--clr-blue-dark);
  font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 0.85rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--clr-blue-mid);
  outline: none;
}

.form-submit {
  width: 100%;
  cursor: pointer;
  border: none;
  padding: 1rem;
}
/* =========================================
   Refined Contact Page Polish (Desktop Focus)
   ========================================= */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: var(--clr-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(11, 21, 56, 0.08); /* Softer, deeper shadow */
  border: 1px solid rgba(152, 175, 221, 0.2); /* Subtle border for definition */
}

/* Contact Info Polish */
.contact-info p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.contact-details-list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f4f8; /* Divider for scannability */
  margin-bottom: 1rem;
}

/* Form Element Polish */
.form-group input, 
.form-group select, 
.form-group textarea {
  background-color: #fafbfc; /* Slight off-white for inputs */
  border: 2px solid #edf2f7; /* Thicker, lighter border */
  padding: 1rem;
  transition: all 0.3s ease;
}

/* High-end Focus State */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--clr-blue-mid);
  background-color: var(--clr-white);
  box-shadow: 0 0 0 4px rgba(90, 121, 194, 0.1); /* Soft glow */
}

/* Desktop Only Enhancements */
@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1.5fr;
    padding: 5rem;
    gap: 5rem;
    margin-top: 0rem; /* Slightly more aggressive overlap */
  }

  /* Make the submit button feel more substantial on desktop */
  .form-submit {
    width: auto;
    align-self: flex-start;
    padding: 1rem 4rem;
    font-size: 1.1rem;
    border-radius: 6px;
  }
}/* Subtle Scroll-In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main > section {
  animation: fadeInUp 0.8s ease-out forwards;
}
/* =========================================
   Legal & Privacy Styles
   ========================================= */
.legal-content-section {
  padding: var(--spacing-lg) var(--spacing-sm);
  max-width: 800px; /* Keeps text lines from getting too long/hard to read */
}

.legal-text-wrapper h3 {
  color: var(--clr-blue-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-text-wrapper p, 
.legal-text-wrapper li {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-text-wrapper ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.last-updated {
  font-weight: 700;
  color: var(--clr-blue-mid);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.disclaimer-box {
  background-color: #f8f9fa;
  border-left: 4px solid #ddd;
  padding: 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}
/* =========================================
   Ongoing Management Section (Pricing Page)
   ========================================= */
.management-section {
  padding: var(--spacing-lg) var(--spacing-sm);
}

.management-wrapper {
  background-color: var(--clr-white);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(11, 21, 56, 0.05);
  border: 1px solid #eaeaea;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.management-text {
  padding: 2.5rem;
}

.management-text h2 {
  color: var(--clr-blue-dark);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.management-lead {
  font-weight: 700;
  color: var(--clr-blue-mid);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.management-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.management-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.management-benefits li {
  position: relative;
  padding-left: 1.5rem;
  color: #444;
}

/* Custom bullet points for the list */
.management-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-blue-mid);
  font-weight: bold;
}

.management-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px; /* Ensures the image doesn't collapse on mobile */
}

/* Desktop Enhancements */
@media (min-width: 768px) {
  .management-wrapper {
    flex-direction: row; /* Places text and image side-by-side */
    align-items: stretch;
  }

  .management-text {
    flex: 1.2; /* Text takes up slightly more space */
    padding: 4rem;
  }

  .management-image {
    flex: 1;
  }
}