/* Base & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333333;
  font-size: 16px;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 25px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.site-logo {
  height: 50px;
  width: auto;
  display: block;
}

header nav a {
  color: #555555;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 0.95em;
}

header nav a:hover,
header nav a.active {
  color: #1e40af;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
  position: relative;
  width: 41px;
  height: 35px;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #1e40af;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Drawer Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

/* Hero Section */
.hero {
  background: #f8fafc;
  padding: 70px 40px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 70px;
}

.hero h1 {
  font-size: 2.2em;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  line-height: 1.4;
  font-weight: 600;
}

.hero p {
  font-size: 1.15em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Call-to-Action Buttons */
.cta-button {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
  margin: 8px;
  font-size: 0.95em;
}

.cta-button:hover {
  background: #2563eb;
}

.cta-button.secondary {
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.cta-button.secondary:hover {
  background: #f8fafc;
}

.cta-buttons {
  text-align: center;
  margin: 30px 0;
}

/* Section Dividers */
hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 70px 0;
}

/* Headings */
h1, h2, h3 {
  color: #1a1a1a;
  font-weight: 600;
}

h2 {
  font-size: 1.9em;
  margin: 50px 0 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid #3b82f6;
  color: #1a1a1a;
}

h3 {
  font-size: 1.3em;
  margin: 30px 0 15px;
  color: #1e40af;
  font-weight: 600;
}

/* Service Cards */
.service-card {
  background: #fafafa;
  padding: 30px;
  border-radius: 6px;
  margin: 25px 0;
  border: 1px solid #e8e8e8;
  border-left: 3px solid #3b82f6;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  border-left-width: 4px;
}

.service-card h3 {
  margin-top: 0;
  color: #1e40af;
}

.service-card .subtitle {
  color: #666666;
  margin-bottom: 20px;
  font-style: italic;
}

.service-card ul {
  margin: 15px 0;
}

.service-card .highlight {
  color: #1e40af;
  font-weight: 500;
  margin-top: 20px;
  display: block;
}

/* Package Cards */
.package-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin: 25px 0;
  overflow: hidden;
}

.package-card h3 {
  background: #3b82f6;
  color: white;
  padding: 18px 25px;
  margin: 0;
  font-size: 1.25em;
}

.package-card ul {
  padding: 25px 25px 25px 45px;
  margin: 0;
  background: #fafafa;
}

.package-card li {
  margin: 12px 0;
  line-height: 1.7;
  color: #333333;
}

/* Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 1.5em;
}

ul li, ol li {
  margin: 10px 0;
  line-height: 1.8;
}

/* Bullet point styling */
ul li::marker {
  color: #556b2f;
}

/* What I Can Help With - special styling */
.help-list {
  background: #fafafa;
  padding: 30px 30px 30px 50px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  list-style: none;
  margin: 30px 0;
}

.help-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.help-list li:last-child {
  border-bottom: none;
}

.help-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: 600;
  font-size: 1.1em;
}

/* Why Work With Section */
h2:has(+ ul li:last-child:contains("Focused")) + ul,
section:has(h2 + ul) ul:last-of-type {
  background: #f7fafc;
  padding: 30px 30px 30px 50px;
  border-radius: 8px;
  border-left: 4px solid #556b2f;
}

/* Contact Section */
h2[id="contact"] ~ p {
  font-size: 1.1em;
  text-align: center;
  margin: 20px 0;
}

h2[id="contact"] ~ p strong {
  display: block;
  margin-top: 20px;
  font-size: 1.2em;
}

h2[id="contact"] ~ blockquote {
  background: linear-gradient(135deg, #556b2f 0%, #6b8e3a 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.3em;
  font-style: italic;
  border-left: none;
  margin: 40px 0;
  box-shadow: 0 4px 12px rgba(85, 107, 47, 0.3);
}

blockquote {
  border-left: 4px solid #556b2f;
  padding-left: 20px;
  margin: 20px 0;
  color: #4a5568;
  font-style: italic;
}

/* Links */
a {
  color: #3b82f6;
  transition: color 0.2s;
}

a:hover {
  color: #2563eb;
}

/* Footer */
footer {
  background: #1e293b;
  text-align: center;
  padding: 35px 20px;
  font-size: 0.9em;
  color: #cbd5e0;
  margin-top: 80px;
  border-top: 1px solid #334155;
}

footer p {
  margin: 8px 0;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
}

footer a:hover {
  color: #93c5fd;
}

/* Offer Box */
.offer-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 2px solid #3b82f6;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  margin: 50px 0;
  position: relative;
}

.offer-badge {
  background: #3b82f6;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offer-box h2 {
  border-bottom: none;
  padding-bottom: 0;
  font-size: 2em;
}

.offer-box ul {
  list-style-position: inside;
}

.offer-box li {
  margin: 10px 0;
  color: #333;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 50px 30px;
  border-radius: 8px;
  margin: 60px 0;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  color: #ffffff;
}

.stat-label {
  font-size: 1.1em;
  opacity: 0.95;
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: #fafafa;
  padding: 35px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  margin: 30px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

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

.form-submit {
  background: #3b82f6;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #2563eb;
}

/* Contact Section */
.contact-info {
  background: #fafafa;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  margin: 30px 0;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1.05em;
}

blockquote {
  background: #f8fafc;
  border-left: 3px solid #3b82f6;
  padding: 20px 30px;
  margin: 30px 0;
  font-style: italic;
  color: #555555;
}

/* Responsive Design */

/* Tablets and below (768px) */
@media (max-width: 768px) {
  /* Show hamburger menu */
  .menu-toggle {
    display: flex;
  }
  
  /* Mobile drawer navigation */
  header nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  header nav.active {
    right: 0;
  }
  
  header nav a {
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1em;
    display: block;
  }
  
  header nav a:last-child {
    border-bottom: none;
  }
  
  .nav-overlay {
    display: block;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 0;
  }
  
  header {
    padding: 20px 15px;
  }
  
  .site-logo {
    height: 45px;
  }
  
  .hero {
    padding: 40px 20px;
  }
  
  .hero h1 {
    font-size: 1.7em;
  }
  
  .hero p {
    font-size: 1.05em;
  }
  
  .cta-button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 14px 20px;
  }
  
  h2 {
    font-size: 1.6em;
  }
  
  h3 {
    font-size: 1.2em;
  }
  
  .container {
    padding: 40px 15px;
  }
  
  .service-card,
  .package-card {
    margin: 20px 0;
    padding: 25px 20px;
  }
  
  .stats-section {
    padding: 40px 20px;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .stat-number {
    font-size: 2.3em;
  }
  
  .stat-label {
    font-size: 1em;
  }
  
  .offer-box {
    padding: 30px 20px;
  }
  
  .offer-box h2 {
    font-size: 1.5em;
  }
  
  .offer-box ul {
    padding-left: 20px;
  }
  
  .contact-form {
    padding: 25px 15px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .help-list {
    padding: 25px 20px 25px 40px;
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  
  .site-logo {
    height: 40px;
  }
  
  header nav a {
    margin: 6px 10px;
    font-size: 0.85em;
    padding: 6px 12px;
  }
  
  .hero {
    padding: 30px 15px;
  }
  
  .hero h1 {
    font-size: 1.5em;
  }
  
  .hero p {
    font-size: 1em;
  }
  
  .container {
    padding: 30px 12px;
  }
  
  h2 {
    font-size: 1.4em;
  }
  
  h3 {
    font-size: 1.1em;
  }
  
  .service-card,
  .package-card,
  .contact-form {
    padding: 20px 15px;
  }
  
  .stats-section {
    padding: 30px 15px;
  }
  
  .stat-number {
    font-size: 2em;
  }
  
  .stat-label {
    font-size: 0.9em;
  }
  
  .offer-box {
    padding: 25px 15px;
  }
  
  .offer-box h2 {
    font-size: 1.3em;
  }
  
  .offer-badge {
    font-size: 0.75em;
    padding: 5px 15px;
  }
  
  .cta-button {
    padding: 12px 20px;
    font-size: 0.95em;
  }
  
  .help-list {
    padding: 20px 15px 20px 35px;
  }
  
  .help-list li {
    padding: 10px 0;
    padding-left: 25px;
    font-size: 0.95em;
  }
}

/* Large screens (1200px and above) - Optional enhancement */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .hero h1 {
    font-size: 2.8em;
  }
  
  .stats-container {
    max-width: 1000px;
  }
}