/* American IT Support - Custom Styles */
:root {
  --patriot-red: #DC2626;
  --patriot-blue: #1E40AF;
  --patriot-navy: #1E3A8A;
  --patriot-light-blue: #3B82F6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1f2937; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.nav-link { padding: 0.5rem 1rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; color: #374151; transition: all 0.2s; text-decoration: none; }
.nav-link:hover, .nav-link.active { background: rgba(30,64,175,0.1); color: var(--patriot-blue); }
.nav-link.active { background: var(--patriot-blue); color: white; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 2rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-red { background: var(--patriot-red); color: white; box-shadow: 0 4px 14px rgba(220,38,38,0.3); }
.btn-red:hover { background: #b91c1c; transform: translateY(-1px); }
.btn-blue { background: var(--patriot-blue); color: white; box-shadow: 0 4px 14px rgba(30,64,175,0.3); }
.btn-blue:hover { background: var(--patriot-navy); transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,0.1); color: white; border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; background: linear-gradient(135deg, var(--patriot-navy), var(--patriot-blue), var(--patriot-navy)); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,58,138,0.85), transparent); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }

/* Page Hero (inner pages) */
.page-hero { padding: 5rem 0; background: linear-gradient(135deg, var(--patriot-navy), var(--patriot-blue), var(--patriot-navy)); color: white; text-align: center; }

/* Cards */
.card { background: white; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transition: all 0.3s; height: 100%; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

/* Location Card */
.location-card { position: relative; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: all 0.3s; cursor: pointer; }
.location-card:hover { box-shadow: 0 20px 25px rgba(0,0,0,0.15); }
.location-card:hover img { transform: scale(1.1); }
.location-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s; }
.location-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent); }
.location-card .content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; color: white; }

/* Feature Row */
.feature-row { display: flex; gap: 1rem; padding: 1.5rem; background: #f9fafb; border-radius: 0.75rem; transition: all 0.3s; }
.feature-row:hover { background: white; box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.icon-box { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; color: white; }
.icon-box-red { background: var(--patriot-red); }
.icon-box-blue { background: var(--patriot-blue); }
.icon-box-round { border-radius: 50%; width: 4rem; height: 4rem; }

/* Value Card */
.value-card { text-align: center; padding: 1.5rem; background: white; border-radius: 0.75rem; box-shadow: 0 4px 6px rgba(0,0,0,0.08); transition: all 0.3s; }
.value-card:hover { box-shadow: 0 20px 25px rgba(0,0,0,0.1); transform: translateY(-4px); }

/* Stats */
.stat-item { text-align: center; padding: 1.5rem; background: #f9fafb; border-radius: 0.75rem; transition: all 0.3s; }
.stat-item:hover { background: white; box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--patriot-red); }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.375rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid #d1d5db; border-radius: 0.5rem; font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: white; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--patriot-blue); box-shadow: 0 0 0 3px rgba(30,64,175,0.1); }
.form-input.error, .form-textarea.error { border-color: var(--patriot-red); }
.form-error { color: var(--patriot-red); font-size: 0.8rem; margin-top: 0.25rem; }
.form-textarea { resize: vertical; min-height: 120px; }

/* Alert */
.alert { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; border-radius: 0.5rem; font-size: 0.875rem; margin-top: 1rem; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Footer */
.footer { background: var(--patriot-navy); color: white; padding: 3rem 0 0; }
.footer a { color: #d1d5db; text-decoration: none; transition: color 0.2s; font-size: 0.875rem; }
.footer a:hover { color: var(--patriot-red); }

/* Badge */
.badge { display: inline-block; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.badge-red { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3); color: white; }
.badge-primary { background: var(--patriot-red); color: white; font-size: 0.75rem; padding: 0.25rem 0.75rem; }

/* Dot list */
.dot-list { list-style: none; padding: 0; }
.dot-list li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; color: #4b5563; }
.dot-list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--patriot-red); margin-top: 0.5rem; }

/* Check list */
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.9); }
.check-list li svg { flex-shrink: 0; color: var(--patriot-red); }

/* Border accent */
.border-accent { border-left: 4px solid var(--patriot-red); padding: 1.5rem; border-radius: 0 0.5rem 0.5rem 0; }

/* Mobile menu */
.mobile-menu { display: none; padding: 1rem 0; border-top: 1px solid #e5e7eb; }
.mobile-menu.open { display: block; }
.mobile-menu .nav-link { display: block; margin-bottom: 0.5rem; }

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; }
.section-gray { background: #f9fafb; }
.text-navy { color: var(--patriot-navy); }
.text-red { color: var(--patriot-red); }
.text-gray { color: #6b7280; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2-mobile { grid-template-columns: repeat(2, 1fr); }
  .desktop-nav { display: none; }
  .mobile-toggle { display: block !important; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 2rem; }
  .btn-group { flex-direction: column; }
  .form-row { grid-template-columns: 1fr !important; }
  .cta-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
}
@media (min-width: 769px) {
  .mobile-toggle { display: none !important; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
