/* ============================================
   WEB PORTAL PAGE - Custom Styles
   Color Palette: #00C853 → #00BFA5 (brand gradient)
   Class prefix: wp-
   ============================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Heading overrides ── */
.wp-hero-title,
.wp-section-title,
.wp-feature-title,
.wp-service-title,
.wp-process-title,
.wp-why-title,
.wp-faq-question span {
  color: #111827 !important;
  font-weight: 500 !important;
}

/* ── CSS Variables ── */
:root {
  --wp-green:      #00C853;
  --wp-cyan:       #00BFA5;
  --wp-gradient:   linear-gradient(135deg, #00C853 0%, #00BFA5 100%);
  --wp-text-dark:  #1a1a2e;
  --wp-text-mid:   #374151;
  --wp-text-light: #64748b;
  --wp-bg-white:   #ffffff;
  --wp-bg-soft:    #f8fffe;
  --wp-bg-mint:    #f0fdf9;
  --wp-border:     #e5e7eb;
  --wp-radius-sm:  8px;
  --wp-radius-md:  16px;
  --wp-radius-lg:  24px;
  --wp-shadow-sm:  0 4px 16px rgba(0,0,0,0.07);
  --wp-shadow-md:  0 8px 32px rgba(0,0,0,0.11);
  --wp-shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --wp-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════
   HERO SECTION
══════════════════════════════ */
.wp-hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 100px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
}
.wp-hero .container { width: 100%; }

.wp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(110,242,138,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(78,221,227,0.08) 0%, transparent 70%);
}

.wp-hero-badge {
  display: inline-block;
  background: var(--wp-gradient);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.wp-hero-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  color: var(--wp-text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}
.wp-hero-subtitle {
  font-size: 18px;
  color: var(--wp-text-light);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 40px;
}
.wp-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.wp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--wp-gradient); color: #ffffff;
  font-weight: 700; font-size: 15px; border-radius: var(--wp-radius-sm);
  text-decoration: none; transition: var(--wp-transition);
  box-shadow: 0 8px 24px rgba(110,242,138,0.30);
}
.wp-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(110,242,138,0.40); color: #ffffff; }

.wp-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent; color: var(--wp-text-dark);
  font-weight: 600; font-size: 15px; border-radius: var(--wp-radius-sm);
  text-decoration: none; border: 2px solid var(--wp-border); transition: var(--wp-transition);
}
.wp-btn-secondary:hover { border-color: var(--wp-green); color: #0a7040; background: var(--wp-bg-mint); transform: translateY(-2px); }

/* Stats Grid */
.wp-hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 10px 0 10px 20px; }

.wp-stat-card {
  background: var(--wp-bg-white); border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-md); padding: 32px 24px; text-align: center;
  transition: var(--wp-transition); position: relative; overflow: hidden;
}
.wp-stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--wp-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.wp-stat-card:hover { border-color: rgba(110,242,138,0.40); box-shadow: var(--wp-shadow-md); transform: translateY(-6px); }
.wp-stat-card:hover::before { transform: scaleX(1); }

.wp-stat-number {
  font-size: 38px; font-weight: 800; background: var(--wp-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1; margin-bottom: 6px;
}
.wp-stat-label { font-size: 13px; color: var(--wp-text-light); font-weight: 500; -webkit-text-fill-color: var(--wp-text-light); }

/* Trusted Banner */
.wp-trusted-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 60px; padding: 20px 28px; background: var(--wp-bg-soft);
  border: 1px solid rgba(110,242,138,0.25); border-radius: var(--wp-radius-md);
}
.wp-trusted-text { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--wp-text-light); white-space: nowrap; }
.wp-trusted-industries { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wp-trusted-industries span { font-size: 14px; font-weight: 600; color: #000; }

/* ══════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════ */
section { padding: 100px 0; }
.wp-section-center-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.wp-section-header { margin-bottom: 48px; }

.wp-section-badge {
  display: inline-block; background: var(--wp-gradient); color: #ffffff;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 20px;
}
.wp-section-title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: var(--wp-text-dark); line-height: 1.3; margin-bottom: 20px; }
.wp-section-desc { font-size: 16px; color: var(--wp-text-light); line-height: 1.8; margin: 0 0 18px; }
.wp-section-desc-highlight {
  font-size: 16px; color: var(--wp-text-mid); font-weight: 500; line-height: 1.7;
  margin: 24px 0 0; padding: 20px 28px; border-left: 4px solid var(--wp-green);
  background: var(--wp-bg-mint); border-radius: 0 var(--wp-radius-sm) var(--wp-radius-sm) 0; text-align: left;
}
.wp-section-subtitle { font-size: 17px; color: var(--wp-text-light); line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ── What Is ── */
.wp-what-is { background: var(--wp-bg-white); }
.wp-feature-card {
  padding: 36px 28px; background: var(--wp-bg-white); border-radius: var(--wp-radius-lg);
  border: 1px solid var(--wp-border); text-align: center; transition: var(--wp-transition); height: 100%; margin-bottom: 24px;
}
.wp-feature-card:hover { border-color: var(--wp-green); box-shadow: var(--wp-shadow-md); transform: translateY(-6px); }
.wp-feature-icon {
  width: 64px; height: 64px; background: var(--wp-gradient); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 26px; color: #ffffff; transition: var(--wp-transition);
}
.wp-feature-card:hover .wp-feature-icon { transform: rotate(5deg) scale(1.1); box-shadow: 0 8px 24px rgba(110,242,138,0.35); }
.wp-feature-title { font-size: 20px; font-weight: 700; color: var(--wp-text-dark); margin-bottom: 12px; }
.wp-feature-desc { font-size: 15px; color: var(--wp-text-light); line-height: 1.7; margin: 0; }

/* ── Challenges ── */
.wp-challenges {
  background: linear-gradient(135deg, #f8fffe 0%, #f0fdf9 50%, #f8fffe 100%);
  position: relative; overflow: hidden;
}
.wp-challenges::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(110,242,138,0.06) 0%, transparent 70%); border-radius: 50%;
}
.wp-challenges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.wp-challenge-item {
  display: flex; align-items: flex-start; gap: 16px; background: var(--wp-bg-white);
  padding: 28px 24px; border-radius: var(--wp-radius-md); border: 1px solid var(--wp-border); transition: var(--wp-transition);
}
.wp-challenge-item:hover { border-color: var(--wp-green); box-shadow: var(--wp-shadow-sm); transform: translateY(-4px); }
.wp-challenge-icon {
  width: 44px; height: 44px; background: var(--wp-gradient); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: #ffffff; flex-shrink: 0;
}
.wp-challenge-item p { margin: 0; font-size: 15px; color: var(--wp-text-mid); line-height: 1.65; padding-top: 10px; }

/* ── Services ── */
.wp-services { background: var(--wp-bg-white); }
.wp-service-card {
  padding: 36px 28px; background: var(--wp-bg-white); border-radius: var(--wp-radius-lg);
  border: 1px solid var(--wp-border); transition: var(--wp-transition);
  height: 100%; position: relative; overflow: hidden; margin-bottom: 24px;
}
.wp-service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--wp-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.wp-service-card:hover { border-color: rgba(110,242,138,0.4); box-shadow: var(--wp-shadow-md); transform: translateY(-8px); }
.wp-service-card:hover::before { transform: scaleX(1); }
.wp-service-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.wp-service-icon {
  width: 52px; height: 52px; background: var(--wp-bg-mint); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #00a860; flex-shrink: 0; transition: var(--wp-transition);
}
.wp-service-card:hover .wp-service-icon { background: var(--wp-gradient); color: #ffffff; }
.wp-service-title { font-size: 20px; font-weight: 700; color: var(--wp-text-dark); margin: 0; }
.wp-service-desc { font-size: 15px; color: var(--wp-text-light); line-height: 1.7; margin-bottom: 20px; }
.wp-service-tech { display: flex; gap: 8px; flex-wrap: wrap; }
.wp-tech-badge {
  display: inline-block; padding: 4px 12px; background: var(--wp-bg-mint); color: #00a860;
  font-size: 12px; font-weight: 600; border-radius: 50px; border: 1px solid rgba(110,242,138,0.30); transition: var(--wp-transition);
}
.wp-service-card:hover .wp-tech-badge { background: rgba(110,242,138,0.12); border-color: rgba(110,242,138,0.50); }

/* ── Process ── */
.wp-process { background: linear-gradient(135deg, #f8fffe 0%, #f0fdf9 60%, #f8fffe 100%); position: relative; overflow: hidden; }
.wp-process-timeline { max-width: 900px; margin: 0 auto; position: relative; }
.wp-process-timeline::before {
  content: ""; position: absolute; left: 26px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, #00C853 0%, #00BFA5 100%); border-radius: 2px;
}
.wp-process-step { display: flex; gap: 40px; align-items: flex-start; position: relative; margin-bottom: 48px; }
.wp-process-step:last-child { margin-bottom: 0; }
.wp-process-number {
  width: 52px; height: 52px; background: var(--wp-gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #ffffff; flex-shrink: 0;
  position: relative; z-index: 2; box-shadow: 0 4px 14px rgba(110,242,138,0.35); transition: var(--wp-transition);
}
.wp-process-step:hover .wp-process-number { transform: scale(1.08); box-shadow: 0 12px 36px rgba(110,242,138,0.45); }
.wp-process-content {
  background: var(--wp-bg-white); border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-lg); padding: 32px 36px; flex: 1; transition: var(--wp-transition); margin-top: 10px;
}
.wp-process-step:hover .wp-process-content { border-color: rgba(110,242,138,0.40); box-shadow: var(--wp-shadow-md); transform: translateX(6px); }
.wp-process-title { font-size: 22px; font-weight: 700; color: var(--wp-text-dark); margin-bottom: 12px; }
.wp-process-desc { font-size: 16px; color: var(--wp-text-light); line-height: 1.75; margin: 0; }

/* ── Why Choose ── */
.wp-why-choose { background: var(--wp-bg-white); }
.wp-why-card {
  padding: 40px 32px; background: var(--wp-bg-white); border-radius: var(--wp-radius-lg);
  border: 1px solid var(--wp-border); text-align: center; transition: var(--wp-transition);
  height: 100%; position: relative; overflow: hidden; margin-bottom: 24px;
}
.wp-why-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--wp-gradient); transform: scaleX(0); transition: transform 0.4s ease;
}
.wp-why-card:hover { border-color: rgba(110,242,138,0.35); box-shadow: var(--wp-shadow-md); transform: translateY(-8px); }
.wp-why-card:hover::after { transform: scaleX(1); }
.wp-why-icon {
  width: 72px; height: 72px; background: var(--wp-gradient); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 28px; color: #ffffff; transition: var(--wp-transition);
}
.wp-why-card:hover .wp-why-icon { transform: rotate(-6deg) scale(1.08); box-shadow: 0 10px 28px rgba(110,242,138,0.35); }
.wp-why-title { font-size: 21px; font-weight: 700; color: var(--wp-text-dark); margin-bottom: 14px; }
.wp-why-desc { font-size: 15px; color: var(--wp-text-light); line-height: 1.7; margin: 0; }

/* ── FAQ ── */
.wp-faq { background: linear-gradient(135deg, #f8fffe 0%, #f0fdf9 60%, #f8fffe 100%); }
.wp-faq-accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.wp-faq-item {
  background: var(--wp-bg-white); border-radius: var(--wp-radius-md);
  border: 1px solid var(--wp-border); overflow: hidden; transition: var(--wp-transition);
}
.wp-faq-item:hover, .wp-faq-item.active { border-color: rgba(110,242,138,0.45); box-shadow: var(--wp-shadow-sm); }
.wp-faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 28px; background: none; border: none; cursor: pointer; text-align: left; transition: var(--wp-transition);
}
.wp-faq-question span { font-size: 17px; font-weight: 600; color: var(--wp-text-dark); line-height: 1.4; }
.wp-faq-question i {
  flex-shrink: 0; width: 32px; height: 32px; background: var(--wp-bg-mint);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #00a860; transition: transform 0.35s ease, background 0.35s ease;
}
.wp-faq-item.active .wp-faq-question i { transform: rotate(180deg); background: var(--wp-gradient); color: #ffffff; }
.wp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.wp-faq-answer-content { padding: 0 28px 24px; }
.wp-faq-answer-content p { font-size: 16px; color: var(--wp-text-light); line-height: 1.75; margin: 0; }

/* ══════════════════════════════
   INDUSTRIES SECTION
══════════════════════════════ */
.industries-section {
  background: var(--wp-bg-white);
  padding: 100px 0;
}
.industries-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.industries-badge {
  display: inline-block; background: var(--wp-gradient); color: #ffffff;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 20px;
}
.industries-title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: #111827; line-height: 1.3; margin-bottom: 16px; }
.industries-subtitle { font-size: 16px; color: var(--wp-text-light); line-height: 1.75; margin: 0; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.industry-card {
  background: var(--wp-bg-white); border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-lg); padding: 36px 24px 30px;
  text-align: center; transition: var(--wp-transition); position: relative; overflow: hidden;
}
.industry-card::before {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--wp-gradient); transform: scaleX(0); transition: transform 0.4s ease;
}
.industry-card:hover { border-color: rgba(110,242,138,0.40); box-shadow: 0 12px 40px rgba(0,0,0,0.10); transform: translateY(-8px); }
.industry-card:hover::before { transform: scaleX(1); }
.industry-icon {
  width: 64px; height: 64px; background: var(--wp-gradient); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 26px; color: #ffffff; transition: var(--wp-transition);
}
.industry-card:hover .industry-icon { transform: rotate(6deg) scale(1.1); box-shadow: 0 8px 24px rgba(110,242,138,0.35); }
.industry-name { font-size: 18px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.industry-desc { font-size: 14px; color: var(--wp-text-light); line-height: 1.65; margin: 0; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .wp-hero { padding: 120px 0 80px; min-height: auto; }
  .wp-hero-stats-grid { padding: 20px 0 0; max-width: 400px; margin: 0 auto; }
  .wp-trusted-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wp-challenges-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-process-timeline::before { display: none; }
  .wp-process-step { flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .wp-process-number { width: 44px; height: 44px; font-size: 13px; }
  .wp-process-content { margin-top: 0; }
}

@media (max-width: 767px) {
  section { padding: 72px 0; }
  .wp-hero { padding: 100px 0 60px; text-align: center; }
  .wp-hero-subtitle { margin: 0 auto 32px; }
  .wp-hero-cta { justify-content: center; }
  .wp-hero-stats-grid { grid-template-columns: 1fr 1fr; padding: 24px 0 0; }
  .wp-challenges-grid { grid-template-columns: 1fr; gap: 16px; }
  .wp-process-content { padding: 24px 22px; }
  .wp-process-step:hover .wp-process-content { transform: none; }
  .wp-faq-question { padding: 18px 20px; }
  .wp-faq-question span { font-size: 15px; }
  .wp-faq-answer-content { padding: 0 20px 20px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .industries-section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .wp-stat-number { font-size: 28px; }
  .wp-btn-primary, .wp-btn-secondary { padding: 12px 24px; font-size: 14px; }
  .wp-service-card, .wp-why-card, .wp-feature-card { padding: 28px 20px; }
  .industries-grid { grid-template-columns: 1fr; }
  .industry-card { padding: 28px 20px 24px; }
}

/* ══════════════════════════════
   CLIENT LOGOS MARQUEE SECTION
══════════════════════════════ */
.wp-clients-section {
  background: #fff;
  padding: 48px 0 40px;
}

.wp-client-title {
  text-align: center;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 28px;
}

.wp-clients-section .client-line-img {
  display: block;
  width: 100%;
  height: 1px;
  object-fit: cover;
  margin: 0;
}

.wp-clients-section .logo-marquee-wrapper {
  padding: 24px 0;
}

/* ══════════════════════════════
   HERO IMAGE + BADGE
══════════════════════════════ */
.wp-hero-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-hero-img {
  width: 100%;
  max-width: 520px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--wp-radius-lg);
  box-shadow: var(--wp-shadow-lg);
  display: block;
  background: linear-gradient(135deg, #f0fdf9 0%, #e6fbf5 100%);
}

.wp-hero-img-badge {
  position: absolute;
  bottom: 28px;
  left: 0px;
  background: #ffffff;
  border-radius: var(--wp-radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  border: 1px solid rgba(0,200,83,0.25);
  animation: wp-badge-pop 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.4s both;
  -webkit-text-fill-color: #111827;
}

.wp-hero-img-badge i {
  font-size: 20px;
  color: #00C853;
  -webkit-text-fill-color: #00C853;
}

@keyframes wp-badge-pop {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 991px) {
  .wp-hero-img { max-width: 100%; height: 320px; }
  .wp-hero-img-badge { bottom: 20px; left: 12px; font-size: 13px; padding: 10px 16px; }
}

@media (max-width: 767px) {
  .wp-hero-img { height: 260px; }
  .wp-hero-img-wrap { margin-top: 32px; }
}
