/* ============================================
   TechCan-Do! — Shared Stylesheet
   Palette: Navy #1B3A5C | Sky #3A9DD4 | Gold #F5C12E | White #FFFFFF | Light BG #F4F8FC
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Lato:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1B3A5C;
  --sky:     #3A9DD4;
  --sky-lt:  #5BB8EC;
  --gold:    #F5C12E;
  --gold-dk: #D4A017;
  --white:   #FFFFFF;
  --bg:      #F4F8FC;
  --text:    #2C2C2C;
  --muted:   #607080;
  --radius:  12px;
  --shadow:  0 4px 20px rgba(27,58,92,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

/* ── NAVIGATION ── */
nav {
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  min-height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--gold);
  color: var(--navy);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  margin-top: 5rem;
}

footer strong { color: var(--gold); }
footer a { color: var(--sky-lt); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e5080 60%, var(--sky) 100%);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,193,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }

.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.01em;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }

.btn-gold  { background: var(--gold); color: var(--navy); }
.btn-sky   { background: var(--sky); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── SECTION WRAPPER ── */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--sky);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27,58,92,0.14);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── HIGHLIGHT STRIP ── */
.strip {
  background: var(--gold);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.strip h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.strip p { color: var(--navy); opacity: 0.8; margin-bottom: 1.25rem; }

/* ── MEET GRANT ── */
.meet-grant {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  flex-wrap: wrap;
}

.meet-grant-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(58,157,212,0.35);
}

.meet-grant-text h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.meet-grant-text p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 680px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-item-text a, .contact-item-text span {
  color: var(--sky);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.contact-item-text a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #D0DDE8;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  background: var(--white);
}

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

.form-success {
  display: none;
  background: #E8F8EE;
  border: 2px solid #4CAF50;
  color: #2E7D32;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-weight: 700;
}

/* ── SERVICES PAGE ── */
.services-hero-sub {
  font-size: 1.1rem;
  max-width: 600px;
}

.service-section { margin-bottom: 3.5rem; }

.service-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--sky);
}

.service-section-header span { font-size: 1.8rem; }

.service-section-header h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy);
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.service-list li {
  background: var(--white);
  border-radius: 8px;
  padding: 0.85rem 1.1rem 0.85rem 1rem;
  box-shadow: 0 2px 10px rgba(27,58,92,0.07);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
  border-left: 4px solid var(--gold);
}

.service-list li::before {
  content: '✓';
  color: var(--sky);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Pricing callout */
.pricing-note {
  background: linear-gradient(135deg, var(--navy), #1e5080);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-note h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.pricing-note p { opacity: 0.88; font-size: 0.97rem; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e5080 100%);
  padding: 3.5rem 2rem 3rem;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.page-header p { opacity: 0.85; font-size: 1.05rem; }

/* ── TRUST BADGES ── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 1rem; min-height: 60px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .meet-grant { flex-direction: column; text-align: center; }
  .pricing-note { flex-direction: column; text-align: center; }
}
