/* =========================================================
   Service Inner Pages - Consistent polish layer
   Loaded AFTER per-page CSS files.
   Unified: no hero images, single column, centered content, same UI.
   ========================================================= */

/* Shared hero – single column, white card, centered content (no images) */
.database-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 200px 24px 64px;
  display: block;
  box-sizing: border-box;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.database-section .db-content {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.database-section .db-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
  padding: 0 0 16px 0;
  text-align: center;
  border-bottom: 3px solid #1e73ff;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.database-section .db-text {
  font-size: 17px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 20px;
  text-align: center;
}

/* Hide hero images – content-only layout on all service pages */
.db-image {
  display: none !important;
}

/* Make list blocks look consistent (centered, same width as content) */
.features-list {
  margin-top: 28px;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.features-list h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 16px;
  text-align: center;
}

.features-list ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.features-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1.5;
}

.features-list li i {
  margin-top: 3px;
  color: #1e73ff;
  flex-shrink: 0;
}

/* Slider/cards polish (used by “Designing of Database”, “Our Expertise”) */
.expertise-section {
  max-width: 1400px;
  margin: 80px auto 0;
  padding: 0 20px 70px;
  position: relative;
}

.curve-bg {
  /* Match screenshot: large rounded blue panel behind cards */
  height: 520px;
  background: linear-gradient(135deg, #1E73FF 0%, #1e40af 100%);
  border-radius: 60px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  margin-bottom: -420px;
}

.title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 34px 0 18px;
  color: #0b1220;
  text-align: center;
  font-weight: 700;
}

/* Title on blue curve/expertise section: white for contrast */
.expertise-section .title {
  color: #fff;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 60px;
  z-index: 2;
}

.cards-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 20px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.card {
  min-width: 280px;
  max-width: 280px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.65);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 115, 255, 0.20);
}

.card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #ffffff;
  padding: 40px 20px;
}

.card-icon-wrapper i {
  font-size: 80px;
  color: #1E73FF;
  transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon-wrapper i {
  transform: scale(1.1);
  color: #1e40af;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 20px 15px;
  color: #1a1a2e;
  line-height: 1.35;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  background: #fff;
  color: #1E73FF;
  border: 1px solid rgba(255,255,255,0.65);
}

.arrow.left { left: 0; }
.arrow.right { right: 0; }

.arrow:hover {
  background: #1E73FF;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .database-section {
    padding: 160px 20px 50px;
    margin-left: 16px;
    margin-right: 16px;
    width: calc(100% - 32px);
    max-width: none;
    border-radius: 20px;
  }
  .database-section .db-content { max-width: 100%; }
  .slider-container { padding: 0 50px; }
  .curve-bg { height: 440px; border-radius: 44px; margin-bottom: -360px; }
}

@media (max-width: 576px) {
  .database-section {
    padding: 140px 16px 44px;
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
    border-radius: 16px;
  }
  .database-section .db-title {
    font-size: 1.35rem;
    padding-bottom: 12px;
  }
  .slider-container { padding: 0 42px; }
  .arrow { width: 40px; height: 40px; }
  .card { min-width: 250px; max-width: 250px; }
  .curve-bg { height: 420px; border-radius: 36px; margin-bottom: -340px; }
}

/* Performance page: match big rounded blue section */
section#performance .performance,
section#production .performance,
section#cloud-migration .performance {
  max-width: 1400px;
  margin: 60px auto;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* Benefits blocks (architectural) – rounded like screenshots */
.benefits {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 60px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .benefits {
    flex-direction: column;
    padding: 50px 5%;
    gap: 2rem;
  }
  .benefits .left-section,
  .benefits .right-section {
    width: 100%;
  }
  .benefits .right-section h1 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .benefits {
    padding: 40px 20px;
    border-radius: 36px;
  }
  .benefits .right-section h1 {
    font-size: 28px;
  }
  .benefits .right-section ul {
    font-size: 16px;
  }
}

