/* ====================================================
   DID INFOTECH - Custom Styles
   ==================================================== */

/* Visibility helpers */
.visibledesktop { display: block; }
.visibledevice  { display: none; }

@media (max-width: 991px) {
  .visibledesktop { display: none !important; }
  .visibledevice  { display: block !important; }
}

/* ====================================================
   Hero / Intro Enhancements
   ==================================================== */

.hero-tagline {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #74b5fc;
  margin-bottom: 12px;
}

.hero-typed-wrap {
  color: #74b5fc;
  text-decoration: underline;
}

.hero-products-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-product-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ====================================================
   Products Section
   ==================================================== */

#products {
  padding: 70px 0 40px 0;
  background: #f8faff;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 24px 24px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(68, 88, 144, 0.10);
  transition: all 0.3s ease-in-out;
  border-top: 4px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(68, 88, 144, 0.18);
}

.product-card.billing { border-top-color: #ff689b; }
.product-card.pms     { border-top-color: #007bff; }
.product-card.kot     { border-top-color: #e9bf06; }
.product-card.task    { border-top-color: #3fcdc7; }
.product-card.welcome { border-top-color: #41cf2e; }
.product-card.radius  { border-top-color: #9b59b6; }

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.product-icon i {
  font-size: 28px;
  color: #fff;
}

.product-icon.billing { background: linear-gradient(135deg, #ff689b, #e0205e); }
.product-icon.pms     { background: linear-gradient(135deg, #007bff, #0050b3); }
.product-icon.kot     { background: linear-gradient(135deg, #f5cc00, #c49900); }
.product-icon.task    { background: linear-gradient(135deg, #3fcdc7, #1aada8); }
.product-icon.welcome { background: linear-gradient(135deg, #41cf2e, #239b14); }
.product-icon.radius  { background: linear-gradient(135deg, #9b59b6, #6c3483); }

.product-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 4px;
}

.product-card .product-target {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
}

.product-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.product-features li {
  font-size: 13px;
  color: #555;
  padding: 3px 0;
}

.product-features li::before {
  content: "\f00c";
  font-family: FontAwesome;
  margin-right: 8px;
  color: #007bff;
  font-size: 11px;
}

.btn-product {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  border: 2px solid #007bff;
  color: #007bff;
  align-self: flex-start;
}

.btn-product:hover {
  background: #007bff;
  color: #fff;
  text-decoration: none;
}

/* ====================================================
   Services Section (redesigned cards)
   ==================================================== */

.service-card-new {
  background: #fff;
  border-radius: 12px;
  padding: 35px 24px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(68, 88, 144, 0.09);
  transition: all 0.3s;
  height: 100%;
}

.service-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(68, 88, 144, 0.16);
}

.service-icon-wrap {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 30px;
}

.service-card-new h4 {
  font-size: 18px;
  font-weight: 700;
  color: #283d50;
  margin-bottom: 12px;
}

.service-card-new p {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ====================================================
   CTA Section
   ==================================================== */

#cta {
  background: linear-gradient(135deg, #003d8f 0%, #007bff 60%, #00b4d8 100%);
  padding: 70px 0;
  text-align: center;
}

#cta h3 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
}

#cta p {
  color: #cce5ff;
  font-size: 17px;
  margin-bottom: 34px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 8px 10px;
}

.btn-cta-primary {
  background: #fff;
  color: #007bff;
}

.btn-cta-primary:hover {
  background: #e0f0ff;
  color: #0056b3;
  text-decoration: none;
}

.btn-cta-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
}

/* ====================================================
   Stats / Counters
   ==================================================== */

.stat-item {
  text-align: center;
  padding: 20px 10px;
}

.stat-item .stat-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: #fff;
  line-height: 1;
  display: block;
}

.stat-item .stat-suffix {
  font-size: 28px;
  font-weight: 800;
  color: #74b5fc;
}

.stat-item p {
  font-size: 14px;
  color: #cce5ff;
  margin-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ====================================================
   Section Header Enhancements
   ==================================================== */

.section-header .section-tag {
  display: inline-block;
  background: #e8f4ff;
  color: #007bff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ====================================================
   Products Page Styles
   ==================================================== */

#products-hero {
  background: linear-gradient(135deg, #003d8f, #007bff);
  padding: 100px 0 60px;
  color: #fff;
  text-align: center;
}

#products-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

#products-hero p {
  font-size: 18px;
  color: #cce5ff;
  max-width: 600px;
  margin: 0 auto;
}

.products-page-section {
  padding: 70px 0;
}

.products-page-section:nth-child(even) {
  background: #f8faff;
}

.product-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}

.product-detail-icon.billing { background: linear-gradient(135deg, #ff689b, #e0205e); }
.product-detail-icon.pms     { background: linear-gradient(135deg, #007bff, #0050b3); }
.product-detail-icon.kot     { background: linear-gradient(135deg, #f5cc00, #c49900); }
.product-detail-icon.task    { background: linear-gradient(135deg, #3fcdc7, #1aada8); }
.product-detail-icon.welcome { background: linear-gradient(135deg, #41cf2e, #239b14); }
.product-detail-icon.radius  { background: linear-gradient(135deg, #9b59b6, #6c3483); }

.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #555;
}

.product-feature-item i {
  color: #007bff;
  margin-top: 2px;
  flex-shrink: 0;
}

.product-target-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}

.product-target-badge.billing { background: #ff689b; }
.product-target-badge.pms     { background: #007bff; }
.product-target-badge.kot     { background: #c49900; }
.product-target-badge.task    { background: #3fcdc7; }
.product-target-badge.welcome { background: #41cf2e; }
.product-target-badge.radius  { background: #9b59b6; }

/* ====================================================
   Responsive
   ==================================================== */

@media (max-width: 768px) {
  #intro .intro-info {
    width: 100%;
    float: none;
    text-align: center;
  }
  #intro .intro-img {
    display: none;
  }
  .hero-products-strip {
    justify-content: center;
  }
  .section-header p {
    width: 90% !important;
  }
  #cta h3 {
    font-size: 26px;
  }
  .product-feature-grid {
    grid-template-columns: 1fr;
  }
  #products-hero h1 {
    font-size: 30px;
  }
}
