/* ========================================
   BLUEWRENCH DIGITAL - MASTER STYLESHEET
   Professional, polished, production-ready
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.25);
  
  /* Colors */
  --navy-dark: #0f172a;
  --navy-med: #1e293b;
  --blue-primary: #3b82f6;
  --blue-secondary: #2563eb;
  --blue-light: #60a5fa;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  background: var(--navy-dark);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.2rem var(--space-md);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  height: 60px; /* Good size for desktop */
  max-width: 200px; /* Prevents it getting too wide */
  width: auto;
  display: block;
}

/* Make it smaller on mobile */
@media (max-width: 768px) {
  .navbar-logo {
    height: 45px; /* Smaller on mobile */
    max-width: 150px;
  }
}
/* If your navbar is flexbox or has specific alignment */
nav {
  display: flex;
  align-items: center;
}
nav ul {
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  list-style: none;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue-light);
  outline: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== MAIN CONTENT ========== */
main {
  overflow-x: hidden;
  flex: 1;
}

/* ========== HERO SECTION ========== */
.hero-top {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-med) 0%, var(--navy-dark) 100%);
  padding: var(--space-2xl) var(--space-md) 7rem;
  position: relative;
  overflow: hidden;
}

.hero-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-top h1 {
  font-size: 4.5rem;
  color: var(--text-primary);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-top h1 span {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-eyebrow {
  color: var(--blue-light);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.hero-top p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ========== SERVICES SECTION ========== */
.services-preview {
  width: 100%;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-med) 100%);
  padding: var(--space-2xl) var(--space-md);
}

.services-preview .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  color: var(--blue-light);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.services-preview h2 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.8;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.service-option {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-option:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.service-option h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-option > p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.service-option ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
}

.service-option ul li {
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
}

.service-option ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: bold;
  font-size: 1.2rem;
}

.service-price-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.1));
  color: var(--blue-light);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1.4rem;
  font-weight: 800;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: var(--space-md);
}

.service-includes {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  background: rgba(15, 23, 42, 0.4);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue-primary);
}

.service-includes strong {
  color: var(--text-secondary);
}

.extras-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-style: italic;
}

/* ==
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: #0f172a;
      color: #f1f5f9;
      padding: 2rem;
    }

    /* Portfolio Section */
/* Portfolio Section */
.portfolio {
  width: 100%;
  background: #0f172a;
  padding: 6rem 2rem;
}

.portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto;
}

/* Project Cards */
.portfolio-grid {
  display: grid;
  gap: 5rem;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* Alternate layout for second project on DESKTOP ONLY */
.project:nth-child(2) {
  grid-template-columns: 1fr 1fr;
}

.project:nth-child(2) .project-info {
  order: 2;
}

.project:nth-child(2) .project-devices {
  order: 1;
}

/* Project Info */
.project-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.1));
  color: #60a5fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(59, 130, 246, 0.3);
  align-self: flex-start;
}

.project-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.project-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-features li {
  padding-left: 1.8rem;
  position: relative;
  color: #94a3b8;
  font-size: 0.95rem;
}

.project-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #60a5fa;
  font-weight: bold;
  font-size: 1.2rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.project-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45);
}

/* Device Mockups Container */
.project-devices {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Laptop Mockup */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 600px;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.project:hover .laptop-mockup {
  transform: perspective(1000px) rotateY(0deg);
}

.laptop-frame {
  background: #1a1a1a;
  border-radius: 12px 12px 0 0;
  padding: 12px 12px 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid #2a2a2a;
}

.laptop-screen {
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.laptop-base {
  height: 12px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 0 0 8px 8px;
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #333;
  border-radius: 0 0 4px 4px;
}

/* Phone Mockups */
.phone-mockup {
  position: absolute;
  width: 120px;
  z-index: 3;
  transition: transform 0.5s ease;
}

.phone-mockup-left {
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-20px) rotate(-5deg);
}

.phone-mockup-right {
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(20px) rotate(5deg);
}

.project:hover .phone-mockup-left {
  transform: translateY(-50%) translateX(-30px) rotate(-8deg);
}

.project:hover .phone-mockup-right {
  transform: translateY(-50%) translateX(30px) rotate(8deg);
}

.phone-frame {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 3px solid #2a2a2a;
  position: relative;
}

.phone-screen {
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TABLET - Stack everything */
@media (max-width: 1024px) {
  .project {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  /* Force normal order on tablet/mobile for ALL projects */
  .project-info {
    order: 1 !important;
  }

  .project-devices {
    order: 2 !important;
  }

  .project-devices {
    height: 400px;
  }

  .phone-mockup {
    width: 100px;
  }
}

/* MOBILE - Smaller adjustments */
@media (max-width: 768px) {
  .portfolio {
    padding: 4rem 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .portfolio-grid {
    gap: 3rem;
  }

  .project {
    padding: 2rem;
  }

  .project-info h3 {
    font-size: 1.6rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .project-devices {
    height: 300px;
  }

  .laptop-mockup {
    transform: perspective(1000px) rotateY(0deg);
  }

  .phone-mockup {
    width: 80px;
  }

  .phone-mockup-left {
    transform: translateY(-50%) translateX(-10px) rotate(-5deg);
  }

  .phone-mockup-right {
    transform: translateY(-50%) translateX(10px) rotate(5deg);
  }
}
/* ========== BENEFITS SECTION ========== */
.benefits {
  max-width: 1200px;
  margin: var(--space-xl) auto var(--space-xl);
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(135deg, var(--navy-med) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.benefits-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.benefits h2 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.benefits-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  background: rgba(15, 23, 42, 0.6);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.benefit-card h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
  width: 100%;
  background: var(--navy-med);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.cta-section h2 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
  color: white;
  padding: 1.2rem 2.8rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45);
  outline: none;
}

.btn-secondary {
  background: transparent;
  color: var(--blue-light);
  padding: 1.2rem 2.8rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid var(--blue-primary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--blue-light);
  outline: none;
}

/* ========== FOOTER ========== */
footer {
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-muted);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  margin-top: auto;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-section p,
.footer-section ul {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--blue-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-item a {
  display: block;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--blue-light);
  min-width: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  text-align: center;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1.2rem;
}

.social-links a {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--blue-light);
  transform: translateY(-2px);
}

.social-links svg {
  display: block;
}

/* ========== FLOATING TEXT BUTTON ========== */
.floating-text-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.floating-text-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

/* ========== MOBILE/DESKTOP VISIBILITY ========== */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline-block !important;
}

/* ========== FOCUS STATES ========== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  /* Mobile/Desktop toggle */
  .mobile-only {
    display: inline-block !important;
  }
  
  .desktop-only {
    display: none !important;
  }
  
  .floating-text-btn {
    display: inline-block;
  }

  /* Header & Navigation */
  nav ul {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--navy-med) 0%, var(--navy-dark) 100%);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    opacity: 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  }
  
  nav ul.active {
    max-height: 400px;
    opacity: 1;
  }
  
  nav li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }
  
  nav ul.active li {
    opacity: 1;
    transform: translateX(0);
  }
  
  nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
  nav ul.active li:nth-child(2) { transition-delay: 0.15s; }
  nav ul.active li:nth-child(3) { transition-delay: 0.2s; }
  nav ul.active li:nth-child(4) { transition-delay: 0.25s; }
  
  nav a {
    width: 100%;
    padding: 1.25rem var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1.1rem;
    display: block;
  }
  
  nav a::after {
    display: none;
  }
  
  nav a:hover {
    background: rgba(59, 130, 246, 0.1);
    padding-left: 2.5rem;
  }
  
  nav li:last-child a {
    border-bottom: none;
  }
  
  .hamburger {
    display: flex;
  }

  /* Hero Section */
  .hero-top {
    padding: var(--space-xl) var(--space-md);
  }
  
  .hero-top h1 {
    font-size: 2.8rem;
  }
  
  .hero-top p {
    font-size: 1.15rem;
    margin-bottom: var(--space-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }

  /* Services Section */
  .services-preview h2 {
    font-size: 2.2rem;
  }
  
  .section-intro {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
  }
  
  .service-options {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .service-option {
    padding: var(--space-md);
  }
  
  .service-option h3 {
    font-size: 1.6rem;
  }
  
  .service-option > p {
    font-size: 1.05rem;
  }

  /* Portfolio Section */
  .portfolio {
    padding: var(--space-xl) var(--space-md);
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .project-card {
    padding: var(--space-md);
  }
  
  .mockup img {
    height: auto;
    max-height: none;
  }
  
  .project-card:hover .mockup img {
    transform: none;
  }

  /* Benefits Section */
  .benefits {
    margin: 0 var(--space-sm) var(--space-lg);
    padding: var(--space-lg) var(--space-md);
  }
  
  .benefits h2 {
    font-size: 2.2rem;
  }
  
  .benefits-subtitle {
    font-size: 1.1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .benefit-card {
    padding: var(--space-md);
  }
  
  .benefit-card:hover {
    transform: translateY(-2px);
  }
  
  .benefit-icon {
    font-size: 2.5rem;
  }
  
  .benefit-card h3 {
    font-size: 1.3rem;
  }
  
  .benefit-card p {
    font-size: 1rem;
  }

  /* CTA Section */
  .cta-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .cta-section h2 {
    font-size: 2.2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }

  /* Footer */
  footer {
    padding: var(--space-lg) var(--space-md) var(--space-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer-section p,
  .footer-section ul {
    font-size: 0.95rem;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  .contact-icon {
    font-size: 1.2rem;
  }
  
  .footer-bottom {
    font-size: 0.85rem;
    padding-top: var(--space-md);
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary {
    padding: 1.1rem 2rem;
    font-size: 1rem;
  }
}

/* Tablet optimization (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-top h1 {
    font-size: 3.5rem;
  }
  
  .section-title,
  .services-preview h2,
  .benefits h2,
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

/* ========================================
   ABOUT PAGE - ADD THESE TO BOTTOM OF styles2.css
   ======================================== */

/* Founder photo in hero */
.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--blue-primary);
  margin-bottom: var(--space-md);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* About hero - slightly more padding to account for photo */
.about-hero {
  padding-top: var(--space-xl);
}

/* Story section */
.about-story {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-med) 100%);
  padding: var(--space-2xl) var(--space-md);
}

.about-story .container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
}

.story-block h2 {
  font-size: 2rem;
  color: var(--blue-light);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.story-block p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .founder-photo {
    width: 130px;
    height: 130px;
  }

  .story-block h2 {
    font-size: 1.6rem;
  }

  .story-block p {
    font-size: 1.05rem;
  }

  .about-story {
    padding: var(--space-xl) var(--space-md);
  }
}