/* ============================================================
   House 35 Global Infotech LLP — components.css
   Reusable UI: cards, service cards, plan cards, badges,
   contact details, why-cards, partner items, forms
   ============================================================ */

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 28px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(4, 44, 83, 0.1);
  border-color: var(--green-mid);
}
.service-card:hover::before { opacity: 1; }

/* Card accent colours */
.sc-green::before  { background: var(--green); }
.sc-blue::before   { background: var(--navy-mid); }
.sc-amber::before  { background: var(--amber); }
.sc-purple::before { background: var(--purple); }
.sc-coral::before  { background: var(--coral); }
.sc-pink::before   { background: var(--pink); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px;
}
/* Icon colour variants */
.si-green  { background: var(--green-light);  color: var(--green-dark); }
.si-blue   { background: var(--navy-light);   color: var(--navy-mid); }
.si-amber  { background: var(--amber-light);  color: var(--amber-dark); }
.si-purple { background: var(--purple-light); color: var(--purple-dark); }
.si-coral  { background: var(--coral-light);  color: var(--coral); }
.si-pink   { background: var(--pink-light);   color: var(--pink); }

.service-card h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em;
}
.service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

.service-card .card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: var(--green);
  text-decoration: none; margin-top: 16px;
  transition: gap 0.15s;
}
.service-card .card-link:hover { gap: 8px; }

/* ── PLAN / PRICING CARDS ── */
.hosting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; align-items: start;
}
.plan-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl); padding: 32px 28px;
  position: relative; z-index: 5;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.plan-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 20px 48px rgba(4, 44, 83, 0.12); 
}
.plan-card.featured {
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: 0 8px 32px rgba(29, 158, 117, 0.15);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 16px; border-radius: 20px;
}
.plan-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px; letter-spacing: -0.02em;
}
.plan-price {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--green); line-height: 1; margin-bottom: 4px;
}
.plan-price sup { font-size: 18px; vertical-align: super; margin-right: 2px; }
.plan-price sub { font-size: 14px; font-weight: 400; color: var(--gray-400); vertical-align: baseline; }
.plan-desc { font-size: 13px; color: var(--gray-400); margin-bottom: 24px; margin-top: 6px; }
.plan-divider { height: 1px; background: var(--gray-100); margin-bottom: 20px; }
.plan-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px;
}
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-600);
}
.plan-features li .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.plan-btn {
  width: 100%; padding: 13px;
  border-radius: var(--radius-md); font-size: 14px;
  font-family: var(--font-body); font-weight: 500;
  cursor: pointer; transition: all 0.15s; border: 2px solid;
}
.plan-btn-outline {
  background: transparent; color: var(--navy);
  border-color: rgba(4,44,83,0.2);
}
.plan-btn-outline:hover { border-color: var(--navy); background: var(--navy-light); }
.plan-btn-solid { background: var(--green); color: var(--white); border-color: var(--green); }
.plan-btn-solid:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* ── WHY-US CARDS ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.2s, background 0.2s;
}
.why-card:hover {
  border-color: rgba(29,158,117,0.4);
  background: rgba(29,158,117,0.06);
}
.why-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 20px;
}
.why-card h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--white); margin-bottom: 8px; letter-spacing: -0.01em;
}
.why-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* Navy section overrides */
.bg-navy .section-eyebrow { color: var(--green-mid); }
.bg-navy .section-title   { color: var(--white); }
.bg-navy .section-sub     { color: rgba(255,255,255,0.6); }

/* ── STAT CARDS (hero / about) ── */
.stat-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 4px 16px rgba(4, 44, 83, 0.05);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(4, 44, 83, 0.1);
  border-color: var(--green-mid);
}
.stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: var(--navy); line-height: 1;
}
.stat-label { font-size: 13px; color: var(--gray-400); margin-top: 2px; }

/* ── ABOUT DETAIL CARDS ── */
.about-visual {
  background: var(--gray-100); border-radius: var(--radius-xl);
  padding: 40px; display: flex; flex-direction: column; gap: 16px;
}
.about-detail {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 16px 20px; border: 1px solid rgba(0,0,0,0.06);
}
.about-detail-label {
  font-size: 11px; color: var(--gray-400); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px;
}
.about-detail-value { font-size: 15px; color: var(--navy); font-weight: 500; }

/* ── PARTNER ITEMS ── */
.partner-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.partner-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 12px 16px; border: 1px solid rgba(0,0,0,0.06);
}
.partner-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-family: var(--font-display);
  flex-shrink: 0;
}
.partner-avatar.blue { background: var(--navy); }
.partner-name { font-size: 14px; font-weight: 500; color: var(--navy); }
.partner-role { font-size: 12px; color: var(--gray-400); }

/* ── CONTACT DETAIL ITEMS ── */
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; }
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-detail-label { font-size: 12px; color: var(--gray-400); margin-bottom: 2px; }
.contact-detail-value { font-size: 14px; color: var(--navy); font-weight: 500; }

/* ── FORM ELEMENTS ── */
.form-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 36px; border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(4,44,83,0.06);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--gray-900); background: var(--white);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }

.form-submit {
  width: 100%; padding: 14px;
  background: var(--green); color: var(--white);
  border: none; border-radius: var(--radius-md);
  font-size: 15px; font-family: var(--font-body); font-weight: 500;
  cursor: pointer; transition: background 0.15s;
}
.form-submit:hover { background: var(--green-dark); }

.form-note {
  font-size: 12px; color: var(--gray-400);
  text-align: center; margin-top: 12px; line-height: 1.6;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-light); border: 1px solid var(--green-mid);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12px; color: var(--green-deep); font-weight: 500;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite;
}

/* ── REGION TAGS ── */
.region-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.region-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--navy-light); border-radius: 20px;
  padding: 4px 12px; font-size: 12px; color: var(--navy-mid);
  font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .about-visual { padding: 24px 20px; }
}
