/* ==========================================================================
   MANAGED IT SERVICES PAGE STYLES
   ========================================================================== */

/* 1. Hero Section */
.mit-hero-section {
  position: relative;
  padding: 160px 24px 80px;
  background-color: #ffffff;
  background-image: url('../img/managed-it-hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mit-hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mit-hero-content {
  text-align: left;
  max-width: 460px;
  z-index: 2;
}

.mit-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 105, 255, 0.08);
  color: #1769ff;
  border: 1px solid rgba(23, 105, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mit-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.16;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.mit-hero-title .mit-highlight {
  color: #1769ff;
}

.mit-hero-desc {
  font-size: 1.05rem;
  line-height: 1.62;
  color: #475569;
  max-width: 420px;
  margin-bottom: 28px;
}

.mit-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mit-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1769ff;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(23, 105, 255, 0.28);
  border: none;
  cursor: pointer;
}

.mit-btn-primary:hover {
  background: #0f52d6;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 105, 255, 0.38);
}

.mit-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1e293b;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.mit-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. OVERVIEW SECTION (2-Column Layout)
   ========================================================================== */
.mit-overview-section {
  padding: 90px 24px;
  background: #ffffff;
}

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

.mit-overview-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.mit-overview-text h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.mit-section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1769ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mit-receive-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.mit-receive-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.25s ease;
}

.mit-receive-item:hover {
  border-color: #93c5fd;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(23, 105, 255, 0.06);
}

.mit-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mit-receive-item strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.mit-receive-item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

.mit-overview-img-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
}

.mit-overview-img-box img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   3. SOLUTIONS GRID (3x2 Premium Cards)
   ========================================================================== */
.mit-solutions-section {
  padding: 90px 24px;
  background: #f8fbff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.mit-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.mit-section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.mit-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mit-solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}

.mit-solution-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.08);
}

.mit-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #eff6ff;
  color: #1769ff;
}

.mit-solution-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.mit-solution-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 20px;
}

.mit-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mit-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.mit-card-features svg {
  color: #1769ff;
  flex-shrink: 0;
}

/* ==========================================================================
   4. BENEFITS (5 Animated Icon Cards)
   ========================================================================== */
.mit-benefits-section {
  padding: 90px 24px;
  background: #ffffff;
}

.mit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.mit-benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mit-benefit-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 14px 30px rgba(23, 105, 255, 0.1);
}

.mit-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eff6ff;
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.mit-benefit-card:hover .mit-benefit-icon {
  background: #1769ff;
  color: #ffffff;
  transform: scale(1.08);
}

.mit-benefit-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.mit-benefit-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   5. TESTIMONIAL BLOCK (Mantu Jha / Ops Head, Gsrealty)
   ========================================================================== */
.mit-testimonial-section {
  padding: 40px 24px 80px;
  background: #ffffff;
}

.mit-testimonial-card {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(145deg, #f8fbff 0%, #edf4fe 100%);
  border: 1px solid #dbeafe;
  border-radius: 22px;
  padding: 44px 48px;
  position: relative;
  box-shadow: 0 12px 32px rgba(23, 105, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mit-quote-icon {
  width: 48px;
  height: 48px;
  color: #3b82f6;
  opacity: 0.8;
  margin-bottom: 16px;
}

.mit-testimonial-text {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.7;
  color: #1e293b;
  font-style: italic;
  margin-bottom: 24px;
}

.mit-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mit-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1769ff;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.3);
}

.mit-author-info {
  text-align: left;
}

.mit-author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.mit-author-role {
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   6. FINAL CTA BANNER
   ========================================================================== */
.mit-cta-section {
  padding: 60px 24px 90px;
  background: #ffffff;
}

.mit-cta-box {
  background: radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.2) 0%, transparent 60%),
              linear-gradient(135deg, #0b2265 0%, #0d389a 50%, #1769ff 100%);
  border-radius: 20px;
  padding: 42px 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(11, 34, 101, 0.25);
  position: relative;
  overflow: hidden;
}

.mit-cta-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.mit-cta-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 6px 0 8px;
}

.mit-cta-text p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.mit-cta-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b2265;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.mit-cta-btn-white:hover {
  background: #f0f6ff;
  color: #1769ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .mit-hero-section {
    background-image: 
      linear-gradient(to right, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.9) 100%),
      url('../img/managed-it-hero-bg.jpg');
    padding: 130px 20px 60px;
    min-height: auto;
  }
  .mit-hero-container {
    justify-content: center;
    text-align: center;
  }
  .mit-hero-content {
    text-align: center;
    max-width: 700px;
  }
  .mit-hero-desc {
    margin: 0 auto 30px;
  }
  .mit-hero-actions {
    justify-content: center;
  }
  .mit-overview-split {
    grid-template-columns: 1fr;
  }
  .mit-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mit-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mit-cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .mit-hero-title {
    font-size: 2.2rem;
  }
  .mit-solutions-grid {
    grid-template-columns: 1fr;
  }
  .mit-benefits-grid {
    grid-template-columns: 1fr;
  }
  .mit-testimonial-card {
    padding: 30px 20px;
  }
  .mit-testimonial-text {
    font-size: 1.05rem;
  }
  .mit-cta-box {
    padding: 30px 20px;
  }
  .mit-cta-text h2 {
    font-size: 1.5rem;
  }
}
