/* Spacing & Typography */
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.75rem; color: #1e293b; margin-bottom: 16px; font-weight: 700; }
.section-header p { color: #64748b; font-size: 1.125rem; max-width: 760px; margin: 0 auto; line-height: 1.6; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

/* Animations & Slideshow Nav */
.reveal.visible { transform: translateY(0); }
.slideshow-nav { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slideshow-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.4); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.slideshow-dot.active { width: 28px; background: #95C11F; box-shadow: 0 0 12px rgba(149, 193, 31, 0.4); }

.slideshow-arrows { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 30px; transform: translateY(-50%); z-index: 10; pointer-events: none; }
.slideshow-arrow { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.2); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.slideshow-arrow svg { width: 22px; height: 22px; }
.slideshow-arrow:hover { background: #95C11F; border-color: #95C11F; transform: scale(1.05); }

/* Cards Base */
.content-card {
  background: #ffffff; border-radius: 16px; padding: 32px; box-sizing: border-box;
  border: 1px solid rgba(11, 18, 32, 0.04); box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(149, 193, 31, 0.12); }
.content-card h3 { font-size: 1.5rem; color: #0f172a; margin-bottom: 16px; font-weight: 600; }
.content-card p { color: #475569; line-height: 1.6; margin-bottom: 0; }

/* EXPLORE LINKS FIXED */
.service-card { border-bottom: 4px solid transparent; display: flex !important; flex-direction: column !important; height: 100% !important; }
.service-card:hover { border-bottom-color: #95C11F; }
.service-card p { flex-grow: 1 !important; margin-bottom: 24px !important; } 
.service-link { 
  position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
  display: inline-flex !important; align-items: center; margin-top: auto !important; align-self: flex-start !important; 
  font-weight: 600; color: #95C11F; text-decoration: none; transition: gap 0.2s; 
}
.service-link::after { content: '→'; margin-left: 6px; transition: margin-left 0.2s; }
.service-link:hover::after { margin-left: 10px; }

/* Other Cards */
.stat-card { text-align: center; background: linear-gradient(145deg, #ffffff, #f8fafc); }
.stat-card h3 { font-size: 1.5rem; color: #95C11F; margin-bottom: 8px; font-weight: 800; line-height: 1; }
.stat-card p { font-size: 1.125rem; font-weight: 500; color: #334155; }

.project-card { position: relative; overflow: hidden; }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #95C11F; }
.project-card p { margin-bottom: 12px; font-size: 0.95rem; }
.project-card strong { color: #1e293b; }

/* FEATURE CARD OVERRIDES */
.feature-card { 
  background: #fdfdfd; border-top: 4px solid #D97706; display: flex !important; flex-direction: column !important; 
}
.feature-card ul { margin-top: 20px; padding-left: 20px; color: #475569; width: 100%; }
.feature-card li { margin-bottom: 10px; line-height: 1.5; }
.feature-card li::marker { color: #D97706; font-weight: bold; }

.hero { min-height: 70vh; padding: 100px 80px; }


/* Custom Sections */
.capabilities-section { background-color: #fcfdfa; background-image: radial-gradient(at 0% 0%, rgba(149, 193, 31, 0.05) 0px, transparent 50%); }
.industries-section { padding: 60px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.industries-text { font-size: 1.25rem; font-weight: 500; color: #475569; line-height: 1.8; margin-top: 20px; }

.final-cta { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; text-align: center; position: relative; z-index: 2; padding-top: 180px; }
.final-cta h2 { color: #fff; margin-bottom: 30px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 9999px; font-weight: 600; font-family: 'Outfit', sans-serif; border: 2px solid rgba(255,255,255,0.3); color: #fff; text-decoration: none; transition: all 0.3s ease; }
.btn-outline:hover { background: #fff; color: #0f172a; border-color: #fff; }
.sla-text { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500; margin-left: 20px; }

@media (max-width: 900px) {
  .hero-actions { display: flex !important; flex-direction: column !important; gap: 8px !important; margin-top: 14px !important; align-items: flex-start !important; width: 100% !important; }
  .hero-actions a { width: auto !important; max-width: 100% !important; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { font-size: clamp(0.8rem, 1.5vw, 1rem) !important; padding: clamp(8px, 1vw, 14px) clamp(14px, 2vw, 24px) !important; }
  .sla-text { font-size: clamp(0.75rem, 1.2vw, 0.9rem) !important; margin-top: 10px !important; }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; gap: 24px !important; }
  .slideshow-arrows { display: none !important; }
  .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; line-height: 1.2 !important; margin-bottom: 16px !important; word-break: normal !important; overflow-wrap: normal !important; }
  .hero-content .hero-description { font-size: 1rem !important; line-height: 1.5 !important; }
  .hero { padding: 110px 20px 80px !important; box-sizing: border-box !important; }
  .hero-content, .hero-badge, .hero-description, .hero-actions, .sla-text { margin-left: 0 !important; max-width: 100% !important; }
  .hero-actions a { width: 100% !important; justify-content: center !important; }
  .slideshow-nav { bottom: 15px !important; }
  .section-padding { padding: 50px 0 !important; }
  .section-header h2 { font-size: clamp(1.75rem, 6vw, 2.25rem) !important; margin-bottom: 12px !important; }
  .section-header p { font-size: clamp(0.95rem, 4vw, 1.125rem) !important; }
  .content-card { padding: 24px !important; }
  .content-card h3 { font-size: clamp(1.25rem, 5vw, 1.5rem) !important; margin-bottom: 12px !important; }
  .content-card p, .project-card p, .feature-card li { font-size: clamp(0.9rem, 3.5vw, 1rem) !important; line-height: 1.5 !important; }
  .industries-text { font-size: clamp(1rem, 4vw, 1.25rem) !important; line-height: 1.6 !important; }
  .final-cta h2 { font-size: clamp(1.5rem, 6vw, 2.25rem) !important; }
  .final-cta p { font-size: clamp(0.95rem, 4vw, 1.1rem) !important; }
}
