/* Houston Tech Solutions - Modern Styles */
:root {
  --navy: #0a2540;
  --navy-dark: #06182b;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --blue: #1e40af;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo { height: 56px; width: auto; }
nav { display: flex; gap: 1.75rem; align-items: center; }
nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}
nav a:hover { color: var(--teal); text-decoration: none; }
.btn {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover { background: var(--teal-light); text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-green {
  background: #16a34a;
  color: white;
}
.btn-green:hover { background: #22c55e; text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: url('images/hero.jpg') center/cover no-repeat;
  color: white;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,37,64,0.85) 0%, rgba(10,37,64,0.4) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 620px; padding: 4rem 0; }
.hero h1 { font-size: 2.75rem; font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 1.75rem; opacity: 0.95; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sections */
section { padding: 4.5rem 0; }
.section-alt { background: var(--gray-50); }
h2 { font-size: 2.1rem; color: var(--navy); margin-bottom: 1rem; font-weight: 700; }
h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 0.5rem; }
.lead { font-size: 1.15rem; color: var(--gray-600); max-width: 720px; margin-bottom: 2rem; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; }

/* About preview */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-preview img { border-radius: 10px; box-shadow: var(--shadow-lg); }

/* Footer */
footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
footer h4 { color: white; margin-bottom: 0.75rem; }
footer a { color: #94a3b8; }
footer a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid #1e3a5f; padding-top: 1.5rem; text-align: center; font-size: 0.9rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
form { display: flex; flex-direction: column; gap: 1rem; }
input, textarea, select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
.contact-info p { margin-bottom: 0.75rem; }
.contact-info strong { color: var(--navy); }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: white; 
    flex-direction: column; 
    padding: 1rem; 
    box-shadow: var(--shadow);
  }
  nav.open { display: flex; }
  .hero h1 { font-size: 2rem; }
  .about-preview, .contact-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}
