/* assets/css/custom-layout.css */

/* General layout */
.sap-services-grid {
  padding: 60px 0;
  background-color: #f8f9fc;
}

/* Service cards row */
.sap-services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -15px;
  margin-right: -15px;
}

/* Service card */
.sap-service-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: calc(33.333% - 30px);
  margin: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
  min-height: 240px;
}
.sap-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.sap-service-card h3 { color: #001e62; font-size: 20px; font-weight: 700; margin-bottom: 15px; position: relative; }
.sap-service-card h3::after { content: ''; display: block; width: 40px; height: 3px; background: #001e62; margin-top: 8px; }
.sap-service-card p { color: #333; font-size: 15px; line-height: 1.6; }

/* Responsive */
@media (max-width: 992px) { .sap-service-card { width: calc(50% - 30px); } }
@media (max-width: 600px) { .sap-service-card { width: 100%; margin-left: 0; margin-right: 0; } }

/* Detail section */
.sap-detail-section {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  padding: 80px 0;
}
.sap-detail-box {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sap-detail-box:hover { background: #f0f8ff; transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.sap-detail-box h4 { font-weight: 800; color: #002855; font-size: 18px; margin-bottom: 12px; }
.sap-detail-box i { color: #3366cc; margin-right: 10px; }
.sap-detail-box p { font-size: 15px; color: #333; line-height: 1.6; }

/* Feature cards */
.feature-card {
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 25px;
  margin: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
}
.feature-card:hover { background: #f0f8ff; transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.icon-circle { width: 60px; height: 60px; margin: 0 auto 15px; background: #001e62; color: #fff; font-size: 24px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.feature-card h5 { font-weight: 700; font-size: 17px; color: #002855; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: #444; line-height: 1.6; }

/* Industry cards */
.industry-card {
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
  margin-bottom: 30px;
}
.industry-card:hover { background: #f0f8ff; transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.industry-card .icon-circle { width: 60px; height: 60px; margin: 15px auto 15px; background: #001e62; color: #fff; font-size: 24px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.industry-card h5 { font-weight: 700; font-size: 17px; color: #002855; margin-bottom: 10px; }
.industry-card p { font-size: 14.5px; color: #444; line-height: 1.6; }

/* Ready-made apps (tabs, gallery) */
#ready-made-apps.apps-section { background:#f8f9fc; padding:80px 0; }
.apps-tabs { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-bottom:24px; }
.apps-tab-btn { appearance:none; border:none; border:1px solid #dbe3ef; background:#fff; color:#001e62; font-weight:700; padding:10px 16px; border-radius:999px; cursor:pointer; transition:all .2s ease; box-shadow:0 2px 6px rgba(0,0,0,.06); }
.apps-tab-btn:hover { transform:translateY(-1px); }
.apps-tab-btn.active { background:#001e62; color:#fff; border-color:#001e62; box-shadow:0 6px 14px rgba(0,30,98,.18); }
.apps-panels { margin-top:10px; }
.apps-panel { display:none; animation: appsFade .25s ease; }
.apps-panel.active { display:block; }
@keyframes appsFade { from { opacity:0; transform:translateY(4px);} to { opacity:1; transform:none;} }
.apps-card { background:#fff; border-radius:16px; padding:28px; box-shadow:0 8px 20px rgba(0,0,0,.08); }
.apps-title { margin:0 0 8px 0; color:#001e62; font-weight:800; }
.apps-desc { margin:0 0 16px 0; color:#445; line-height:1.7; }
.apps-gallery { display:grid; grid-template-columns:repeat(2, 1fr); gap:12px; }
@media (min-width:576px) { .apps-gallery { grid-template-columns:repeat(3, 1fr); } }
@media (min-width:992px) { .apps-gallery { grid-template-columns:repeat(5, 1fr); } }
.app-shot { width:100%; aspect-ratio:9/16; object-fit:cover; border-radius:12px; box-shadow:0 4px 14px rgba(0,0,0,.08); background:#eef3fb; }
