/* ============================================================
   AnswerPoint LLC — Master Stylesheet
   Brand: Navy #293643, Orange #F6921E, Teal #90C0D5
   Typography: Montserrat
   ============================================================ */

:root {
  --navy: #293643;
  --navy-light: #344455;
  --navy-dark: #1e2a35;
  --teal: #90C0D5;
  --teal-light: #b3d6e5;
  --orange: #F6921E;
  --orange-dark: #e07d0a;
  --gray-dark: #4A5568;
  --gray-medium: #A0AEC0;
  --gray-light: #F7FAFC;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--gray-dark); line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  position: sticky; top: 0; z-index: 100;
  padding: 0 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo-link { display: flex; align-items: center; border: none !important; text-decoration: none !important; }
.header-logo { height: 44px; border: none; outline: none; }
.main-nav ul {
  display: flex; list-style: none; gap: 4px; align-items: center;
}
.main-nav ul li a {
  padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--gray-dark);
  border-radius: 6px; transition: all 0.2s;
}
.main-nav ul li a:hover { color: var(--orange); background: rgba(246,146,30,0.06); }
.main-nav ul li a.active { color: var(--orange); }
.admin-link {
  background: var(--navy) !important; color: var(--white) !important;
  font-size: 12px !important; padding: 6px 14px !important;
  border-radius: 6px !important; letter-spacing: 0.5px;
}
.admin-link:hover { background: var(--navy-light) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ========== HERO ========== */
.hero {
  background: var(--navy); color: var(--white);
  padding: 80px 0 60px;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.eyebrow.center { text-align: center; display: block; }
.hero h1 { font-size: 48px; font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-desc { font-size: 16px; opacity: 0.85; line-height: 1.7; max-width: 540px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; }
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 20px; text-align: center;
}
.stat-num { display: block; font-size: 32px; font-weight: 900; color: var(--orange); }
.stat-label { font-size: 12px; font-weight: 600; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 60px 0 40px; text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 12px; }
.page-hero h1 em { color: var(--teal); font-style: normal; }
.page-hero .hero-desc { margin: 0 auto; opacity: 0.8; }

/* ========== PILLARS ========== */
.pillars { display: flex; }
.pillar {
  flex: 1; padding: 20px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.pillar-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 120px; font-weight: 900; opacity: 0.12; line-height: 1;
  pointer-events: none; user-select: none;
}
.pillar h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; position: relative; z-index: 1; }
.pillar p { font-size: 12px; opacity: 0.8; position: relative; z-index: 1; }
.pillar-navy { background: var(--navy); }
.pillar-orange { background: var(--orange); }
.pillar-teal { background: var(--teal); color: var(--navy); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-family: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer; border: none;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.3); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* ========== SECTIONS ========== */
.section { padding: 60px 0; }
.section-title {
  font-size: 28px; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 40px;
}

/* ========== SERVICE CARDS (Home) ========== */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 24px; text-align: center; transition: all 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  padding: 14px;
}
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--gray-medium); line-height: 1.5; }

/* Service detail cards (Services page) */
.service-detail-grid { display: flex; flex-direction: column; gap: 20px; }
.service-detail-card {
  display: flex; align-items: center; gap: 24px; padding: 24px;
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px;
  transition: all 0.2s;
}
.service-detail-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.service-detail-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; padding: 16px; flex-shrink: 0;
}
.service-detail-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-detail-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.service-detail-body p { font-size: 14px; color: var(--gray-dark); }

/* ========== TRUSTED BY ========== */
.trusted-section { background: var(--gray-light); padding: 32px 0; }
.trusted-title { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-medium); margin-bottom: 20px; }
.trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.trust-name {
  background: var(--white); border: 1px solid #e2e8f0; padding: 8px 20px;
  border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--navy);
  transition: all 0.2s;
}
.trust-name:hover { border-color: var(--teal); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* ========== BLOG CARDS ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 24px; transition: all 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.blog-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.blog-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.blog-card p { font-size: 13px; color: var(--gray-medium); margin-bottom: 12px; }
.read-more { font-size: 13px; font-weight: 700; color: var(--orange); }
.read-more:hover { color: var(--orange-dark); }

/* Blog full grid (blog page) */
.blog-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.blog-full-card {
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 28px; transition: all 0.2s;
}
.blog-full-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.blog-full-card h2 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.blog-date { font-size: 12px; color: var(--gray-medium); margin-bottom: 12px; }
.blog-full-card p { font-size: 13px; color: var(--gray-dark); margin-bottom: 12px; line-height: 1.6; }

/* ========== CTA BANNER ========== */
.cta-banner { background: var(--navy); color: var(--white); padding: 48px 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.cta-inner p { font-size: 15px; opacity: 0.8; margin-bottom: 20px; }

/* ========== ABOUT PAGE ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-text h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; font-size: 14px; }
.about-values h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card {
  background: var(--gray-light); border-radius: 10px; padding: 20px;
}
.value-card h4 { font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 12px; color: var(--gray-medium); }

.team-section { background: var(--gray-light); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--white); border-radius: 12px; padding: 28px;
  border: 1px solid #e2e8f0; text-align: center;
}
.team-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--gray-dark); }

/* ========== CASE STUDIES ========== */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card {
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 28px; transition: all 0.2s;
}
.case-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.case-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.case-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.case-card p { font-size: 13px; margin-bottom: 8px; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-metrics span {
  background: var(--gray-light); padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; color: var(--navy);
}

/* ========== CONTACT PAGE ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.contact-info p { font-size: 14px; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-medium); margin-bottom: 4px; }
.contact-item a, .contact-item p { font-size: 15px; color: var(--navy); font-weight: 600; }
.contact-item a:hover { color: var(--orange); }
.contact-form-wrap {
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px;
}
.contact-form label {
  display: block; font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 8px;
  font-family: inherit; font-size: 14px; margin-bottom: 16px; outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--teal);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 0; }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy); color: var(--white); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { height: 32px; margin-bottom: 12px; border: none; outline: none; }
.footer-brand p { font-size: 13px; color: var(--gray-medium); line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 4px; }
.footer-col ul li a { font-size: 13px; color: var(--gray-medium); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col p { font-size: 13px; color: var(--gray-medium); line-height: 1.5; }
.footer-phone, .footer-email {
  display: block; font-size: 13px; color: var(--orange); margin-top: 6px;
}
.footer-phone:hover, .footer-email:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 32px; padding: 16px 0;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--gray-medium); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-desc { margin: 0 auto 24px; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid #e2e8f0; padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-full-grid, .case-grid, .about-grid, .contact-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .pillars { flex-direction: column; }
  .page-hero h1 { font-size: 28px; }
  .values-grid { grid-template-columns: 1fr; }
}
