/* ============================================
   CubeBS Why Choose Us + AI Services Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1a1e2b;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / navigation (if not using theme's header) */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(2px);
  background-color: rgba(255,255,255,0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1f2b4e, #2c3e6d);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.logo span {
  font-weight: 500;
  font-size: 0.9rem;
  color: #4a6fa5;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #2c3e50;
  transition: 0.2s;
}
.nav-links a:hover {
  color: #2c7da0;
}
.contact-phone {
  background: #eef2fa;
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 600;
  color: #1e466e;
}
.contact-phone i {
  margin-right: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e466e;
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-outline {
  background: transparent;
  border: 2px solid #1e466e;
  color: #1e466e;
}
.btn-outline:hover {
  background: #1e466e;
  color: white;
}
.btn:hover {
  background: #0f2c48;
  transform: translateY(-2px);
}

/* Hero section */
.hero {
  padding: 80px 0 70px;
  background: linear-gradient(120deg, #f9fcff 0%, #f0f5fa 100%);
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1;
}
.hero-badge {
  background: #e0edf9;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e466e;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0b2b44;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 32px;
  max-width: 550px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  min-height: 320px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
}

/* ========== SERVICES SHOWCASE SECTION ========== */
.services-showcase {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafd 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0b2b44;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #1e466e, #2c7da0);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: #4a627a;
  max-width: 700px;
  margin: 24px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.service-card {
  background: white;
  border-radius: 28px;
  padding: 32px;
  transition: all 0.35s ease;
  border: 1px solid #eef2f6;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(30,70,110,0.15);
  border-color: transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e466e, #2c7da0, #10b981);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #eef2fa, #ffffff);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid #eef2f6;
}

.service-icon i {
  font-size: 2rem;
  color: #1e466e;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2b4e;
  margin-bottom: 16px;
}

.service-card p {
  color: #4a627a;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-top: 16px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #3a4a66;
}

.service-features li i {
  color: #2c7da0;
  font-size: 0.85rem;
  width: 20px;
}

.service-badge {
  display: inline-block;
  background: #eef2fa;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e466e;
  margin-top: 16px;
  letter-spacing: 0.5px;
}

.service-category {
  display: inline-block;
  background: linear-gradient(135deg, #1e466e, #2c7da0);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Zigzag sections */
.zigzag {
  padding: 80px 0;
}
.zigzag-item {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.zigzag-item.reverse {
  flex-direction: row-reverse;
}
.zigzag-text {
  flex: 1;
}
.zigzag-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2b4e;
}
.zigzag-text p {
  color: #3a4a66;
  margin-bottom: 20px;
  font-size: 1rem;
}
.feature-list {
  list-style: none;
  margin-top: 16px;
}
.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
color: #1a1e2b; 
}
.feature-list i {
  color: #2c7da0;
  width: 24px;
  font-size: 1.2rem;
}
.zigzag-img {
  flex: 1;
  background-color: #eef2fa;
  border-radius: 28px;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* CTA revolution */
.cta-revolution {
  background: linear-gradient(110deg, #13294b, #1f4662);
  color: white;
  text-align: center;
  padding: 70px 24px;
  border-radius: 48px;
  margin: 40px 0 60px;
}
.cta-revolution h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.cta-revolution .btn {
  background: white;
  color: #1e466e;
  margin-top: 24px;
}
.cta-revolution .btn:hover {
  background: #f0f4fa;
}


/* ========== DETAILED SECTIONS (Deep Dive Cards) – FIXED ========== */
.details-section {
  background: #f8fafd !important;
  padding: 80px 0 !important;
  width: 100%;
}

.details-grid {
  display: flex !important;
  gap: 48px !important;
  flex-wrap: wrap !important;
  justify-content: center;
}

.detail-card {
  background: white !important;
  border-radius: 32px !important;
  padding: 32px !important;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
  border: 1px solid #eef2f6 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1) !important;
}

.detail-card h3 {
  font-size: 1.8rem !important;
  margin-bottom: 24px !important;
  font-weight: 700 !important;
  color: #1f2b4e !important;
}

.detail-card h3 i {
  margin-right: 10px;
  color: #2c7da0;
}

.icon-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.icon-list li {
  margin-bottom: 18px !important;
  display: flex !important;
  gap: 14px !important;
  align-items: baseline !important;
  font-size: 1rem !important;
  color: #3a4a66 !important;
  line-height: 1.5 !important;
}

.icon-list li i {
  color: #2c7da0 !important;
  font-size: 1.3rem !important;
  min-width: 26px !important;
  margin-top: 3px;
}

.icon-list li strong {
  color: #1f2b4e !important;
  font-weight: 700 !important;
}

.detail-card .btn-outline {
  display: inline-block !important;
  margin-top: 20px !important;
  padding: 8px 24px !important;
  background: transparent !important;
  border: 2px solid #1e466e !important;
  color: #1e466e !important;
  border-radius: 40px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: 0.25s ease;
}

.detail-card .btn-outline:hover {
  background: #1e466e !important;
  color: white !important;
  transform: translateY(-2px);
}


/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.4rem; }
  .zigzag-item, .zigzag-item.reverse { flex-direction: column; }
  .hero-grid { flex-direction: column; }
  .header-inner { flex-direction: column; }
  .nav-links { justify-content: center; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 2rem; }
  .service-card { padding: 24px; }
}