/* ============================================================
   HOME PAGE STYLES (from original AnswerPoint site)
   Loaded only on index.html via home.css
   ============================================================ */

/* Hero - override any new CSS hero rules */
.hero { background: linear-gradient(135deg, var(--navy, #293643) 0%, #1a2530 60%, #0f1a24 100%); color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; min-height: auto; display: block; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(45deg, transparent 30%, rgba(144,192,213,0.08) 100%); }
.hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: linear-gradient(to right, #293643, #90C0D5, #F6921E); clip-path: polygon(0 60%, 30% 100%, 60% 40%, 100% 80%, 100% 100%, 0 100%); opacity: 0.3; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.hero h1 span { color: #F6921E; }
.hero p { font-size: 18px; line-height: 1.7; color: #90C0D5; font-weight: 400; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; }
.hero-cta a { padding: 14px 32px; border-radius: 4px; font-weight: 700; font-size: 14px; letter-spacing: 0.5px; transition: all 0.3s; text-decoration: none; }
.hero-cta .primary { background: #F6921E; color: #fff; }
.hero-cta .primary:hover { background: #e07d0a; transform: translateY(-2px); }
.hero-cta .secondary { border: 2px solid #90C0D5; color: #90C0D5; }
.hero-cta .secondary:hover { background: #90C0D5; color: #293643; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat { background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); border: 1px solid rgba(144,192,213,0.15); border-radius: 12px; padding: 24px; text-align: center; }
.hero-stat .num { font-size: 36px; font-weight: 900; color: #F6921E; }
.hero-stat .label { font-size: 12px; letter-spacing: 1px; color: #90C0D5; margin-top: 6px; font-weight: 500; }

/* Sections */
section { padding: 80px 0; }
.alt { background: #F4F7FA; }
.section-label { font-size: 12px; letter-spacing: 3px; font-weight: 700; color: #F6921E; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 800; color: #293643; margin-bottom: 16px; line-height: 1.2; }
.section-subtitle { font-size: 16px; color: #5A6A7A; max-width: 640px; line-height: 1.7; margin-bottom: 48px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { text-align: center; padding: 60px 40px; position: relative; }
.pillar:nth-child(1) { background: #293643; color: #fff; }
.pillar:nth-child(1) * { color: #fff !important; }
.pillar:nth-child(2) { background: #F6921E; color: #fff; }
.pillar:nth-child(2) * { color: #fff !important; }
.pillar:nth-child(3) { background: #90C0D5; color: #293643; }
.pillar:nth-child(3) * { color: #293643 !important; }
.pillar .num { font-size: 64px; font-weight: 900; opacity: 0.2; position: absolute; top: 20px; right: 30px; }
.pillar h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.pillar p { font-size: 14px; line-height: 1.7; opacity: 1; }

/* Service Cards (homepage 4-col grid) */
body > section .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid #E0E7EF; border-radius: 12px; padding: 36px 28px; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, #F6921E, #90C0D5); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(41,54,67,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon-img { width: 56px; height: 56px; margin-bottom: 18px; }
.service-icon-img img { width: 100%; height: 100%; object-fit: contain; opacity: 1 !important; filter: none !important; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #293643; }
.service-card p { font-size: 13px; color: #5A6A7A; line-height: 1.6; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { text-align: center; padding: 36px 20px; border-radius: 12px; border: 1px solid #E0E7EF; background: #fff; transition: all 0.3s; }
.industry-card:hover { border-color: #F6921E; box-shadow: 0 8px 24px rgba(246,146,30,0.12); }
.industry-card .icon { font-size: 32px; margin-bottom: 12px; }
.industry-card h4 { font-size: 14px; font-weight: 700; color: #293643; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial { background: #fff; border: 1px solid #E0E7EF; border-radius: 12px; padding: 32px; position: relative; }
.testimonial::before { content: '\201C'; font-size: 72px; font-weight: 900; color: #F6921E; opacity: 0.15; position: absolute; top: 8px; left: 20px; line-height: 1; }
.testimonial p { font-size: 14px; color: #5A6A7A; line-height: 1.7; margin-bottom: 16px; font-style: italic; position: relative; z-index: 1; }
.testimonial .author { font-weight: 700; font-size: 13px; color: #293643; }
.testimonial .role { font-size: 12px; color: #5A6A7A; }

/* Blog Cards — override new CSS .blog-card rules */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border-radius: 12px; overflow: hidden; border: 1px solid #E0E7EF; background: #fff; transition: all 0.3s; display: block; box-shadow: none; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(41,54,67,0.1); }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.blog-thumb img { max-height: 100px; max-width: 100px; width: auto; height: auto; object-fit: contain; border: none !important; outline: none !important; box-shadow: none !important; opacity: 1 !important; display: block; filter: none !important; }
.blog-thumb.health { background: linear-gradient(135deg, #e8f4f8, #d1ecf4); }
.blog-thumb.retail { background: linear-gradient(135deg, #fef3e2, #fde6c4); }
.blog-thumb.mfg { background: linear-gradient(135deg, #e8edf2, #d1dbe6); }
.blog-body { padding: 24px; }
.blog-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #F6921E; text-transform: uppercase; margin-bottom: 8px; }
.blog-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #293643; line-height: 1.4; }
.blog-body p { font-size: 13px; color: #5A6A7A; line-height: 1.6; }

/* Partners */
.partners { display: flex; justify-content: center; gap: 48px; align-items: center; flex-wrap: wrap; padding: 40px 0; opacity: 0.5; }
.partners span { font-size: 16px; font-weight: 700; letter-spacing: 1px; color: #293643; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, #293643 0%, #1a2530 100%); color: #fff; padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; color: #fff; }
.cta-banner p { font-size: 16px; color: #90C0D5; margin-bottom: 32px; }
.cta-banner a { background: #F6921E; color: #fff; padding: 16px 40px; border-radius: 4px; font-weight: 700; font-size: 14px; display: inline-block; transition: all 0.3s; text-decoration: none; }
.cta-banner a:hover { background: #e07d0a; transform: translateY(-2px); }

/* Responsive overrides for homepage */
@media (max-width: 1024px) {
  body > section .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-grid, .testimonials-grid, .blog-grid, .pillars { grid-template-columns: 1fr; }
  body > section .services-grid, .industries-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 80px 0 40px !important; }
  .hero-visual { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 28px; }
  .partners { gap: 24px; }
  .partners span { font-size: 13px; }
}
