/* =========================
   PORTFOLIO PAGE
========================= */

/* Hero Section */

.portfolio-hero {
  position: relative;
  padding: 140px 0 130px;
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f");
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
  overflow-y: visible;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 40, 75, 0.95),
    rgba(0, 40, 75, 0.75)
  );
  z-index: 1;
}

/* CONTENT */
.portfolio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* EYEBROW */
.portfolio-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

/* TITLE */
.portfolio-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 26px;
}

.portfolio-title span {
  color: #dc2d27;
}

/* DESCRIPTION */
.portfolio-desc {
  font-size: 18px;
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto 44px;
}

/* ACTIONS */
.portfolio-hero-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* PRIMARY CTA */
.hero-primary {
  background: #dc2d27;
  color: #ffffff;
  padding: 16px 38px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hero-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(220, 45, 39, 0.5);
}

/* SECONDARY CTA */
.hero-secondary {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  padding: 16px 38px;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.hero-secondary:hover {
  background: #ffffff;
  color: #020617;
  transform: translateY(-4px);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 110px 0 100px;
  }

  .portfolio-title {
    font-size: 34px;
  }

  .portfolio-desc {
    font-size: 16px;
  }
}
/* =========================
   RESULTS SNAPSHOT – PREMIUM
========================= */
.results-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* Header */
.results-section .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.section-tag {
  color: #2563eb;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

.results-section h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 14px 0;
  color: #020617;
}

.results-section p {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
}

/* Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.result-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.08);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* Soft gradient border */
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.35),
    rgba(220, 45, 39, 0.35),
    rgba(34, 197, 94, 0.35)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
}

/* Hover */
.result-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 45px 100px rgba(37, 99, 235, 0.25);
}

/* Counter */
.counter-wrap {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #dc2d27;
  margin-bottom: 14px;
  transform: scale(0.9);
  opacity: 0.85;
  transition:
    transform 0.45s ease,
    text-shadow 0.45s ease;
}

/* Active counting effect */
.result-card.counter-active .counter-wrap {
  transform: scale(1.12);
  text-shadow: 0 15px 45px rgba(220, 45, 39, 0.45);
}

/* Settle */
.result-card.counter-done .counter-wrap {
  transform: scale(1);
  text-shadow: none;
}

/* Title */
.result-card p {
  font-size: 18px;
  font-weight: 700;
  color: #020617;
  margin-bottom: 6px;
}

/* Subtext */
.result-card span {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .counter-wrap {
    font-size: 42px;
  }

  .results-section h2 {
    font-size: 32px;
  }
}

/* =========================
   PORTFOLIO – PREMIUM UPGRADE
========================= */

/* FILTERS */
.portfolio-filters-section {
  padding: 60px 0 30px;
  background: #f8fafc;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, #2563eb, #dc2d27);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* CARD */
.premium-portfolio {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  height: 380px;
  background: #000;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* GRADIENT BORDER */
.premium-portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.5),
    rgba(220, 45, 39, 0.4),
    rgba(34, 197, 94, 0.4)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
}

/* IMAGE */
.premium-portfolio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.premium-portfolio:hover img {
  transform: scale(1.12);
}

/* OVERLAY */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(2, 6, 23, 0.88),
    rgba(2, 6, 23, 0.45),
    transparent
  );
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s ease;
}

.premium-portfolio:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* TAG */
.portfolio-tag {
  align-self: flex-start;
  background: #dc2d27;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* TITLE */
.portfolio-overlay h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

/* DESC */
.portfolio-overlay p {
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 14px;
}

/* LINK */
.portfolio-overlay a {
  font-weight: 700;
  color: #93c5fd;
  text-decoration: none;
}

.portfolio-overlay a:hover {
  text-decoration: underline;
}

/* HOVER LIFT */
.premium-portfolio:hover {
  box-shadow: 0 45px 120px rgba(37, 99, 235, 0.35);
}

/* MOBILE */
@media (max-width: 768px) {
  .premium-portfolio {
    height: 340px;
  }

  .portfolio-overlay {
    opacity: 1;
    transform: none;
    background: linear-gradient(
      to top,
      rgba(2, 6, 23, 0.85),
      rgba(2, 6, 23, 0.6)
    );
  }
}
/* =========================
   CLIENTS SECTION
========================= */
.clients-section {
  padding: 100px 0 90px;
  background: #f8fafc;
  overflow: hidden;
}

/* Header */
.clients-section .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.clients-section .section-tag {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.clients-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 12px 0;
  color: #020617;
}

.clients-section p {
  font-size: 17px;
  color: #475569;
}

/* Slider Wrapper */
.clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Track */
.clients-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-logos 35s linear infinite;
}

/* Pause on hover */
.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

/* Logo Card */
.client-logo {
  min-width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.08);
  transition: all 0.35s ease;
}

/* Logo image */
.client-logo img {
  max-height: 48px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.35s ease;
}

/* Hover effect */
.client-logo:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.25);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animation */
@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .clients-section {
    padding: 80px 0;
  }

  .clients-section h2 {
    font-size: 30px;
  }

  .clients-track {
    gap: 30px;
  }

  .client-logo {
    min-width: 130px;
    height: 80px;
  }

  .client-logo img {
    max-height: 42px;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   OUR PROCESS SECTION
========================= */
.process-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

/* Header */
.process-section .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.process-section .section-tag {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.process-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 12px 0;
  color: #020617;
}

.process-section p {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
}

/* Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Card */
.process-card {
  position: relative;
  background: #ffffff;
  padding: 48px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.08);
  transition: all 0.4s ease;
  cursor: default;
  overflow: hidden;
}

/* Gradient border glow */
.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #dc2d27, #22c55e);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-card:hover::before {
  opacity: 1;
}

/* Hover lift */
.process-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 90px rgba(37, 99, 235, 0.25);
}

/* Step number */
.step-number {
  display: inline-block;
  font-size: 42px;
  font-weight: 800;
  color: #dc2d27;
  opacity: 0.15;
  margin-bottom: 10px;
}

/* Title */
.process-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: #020617;
  margin-bottom: 12px;
}

/* Text */
.process-card p {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-section {
    padding: 80px 0;
  }

  .process-section h2 {
    font-size: 30px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   TESTIMONIALS – PREMIUM
========================= */
.testimonials-section {
  padding: 110px 0;
  background: #f8fafc;
}

.testimonials-section .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

/* Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.testimonial-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.08);
  transition: all 0.45s ease;
  transform-style: preserve-3d;
}

/* Soft gradient border */
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, #2563eb, #22c55e, #dc2d27);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
}

/* Hover 3D */
.testimonial-card:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 45px 90px rgba(37, 99, 235, 0.25);
}

/* Header */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #dc2d27);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.testimonial-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #020617;
}

.testimonial-header span {
  font-size: 13px;
  color: #64748b;
}

/* Text */
.testimonial-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: #475569;
}

/* Responsive */
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 90px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   STRONG CTA – CONVERSION
========================= */

.cta-strong {
  position: relative;
  padding: 120px 20px 60px 20px;
  margin-bottom: 80px;
  background: linear-gradient(135deg, #020617, #0f172a);
  overflow-x: hidden;
  overflow-y: visible;
}

/* Glow effect */
.cta-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(220, 45, 39, 0.25),
      transparent 45%
    ),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.25), transparent 45%);
  pointer-events: none;
}

/* Content */
.cta-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

/* Badge */
.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

/* Heading */
.cta-content h2 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}

.cta-content h2 span {
  color: #dc2d27;
}

/* Text */
.cta-content p {
  font-size: 18px;
  line-height: 1.75;
  color: #e5e7eb;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Buttons */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Button base */
.cta-btn {
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s ease;
}

/* Primary */
.cta-btn.primary {
  background: #dc2d27;
  color: #020617;
  box-shadow: 0 18px 45px rgba(220, 45, 39, 0.45);
}

.cta-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(220, 45, 39, 0.65);
}

/* Outline */
.cta-btn.outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}

.cta-btn.outline:hover {
  background: #ffffff;
  color: #020617;
  transform: translateY(-4px);
}

/* Trust Row */
.cta-trust {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cbd5e1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 34px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .cta-trust {
    gap: 16px;
    font-size: 13px;
  }
}
/* =========================
   CASE STUDY – PREMIUM
========================= */

body.case-study-page {
  background: #f8fafc;
  font-family: Inter, system-ui, sans-serif;
  color: #0f172a;
}

/* Back */
.case-back {
  padding: 18px 24px;
}

.case-back a {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

/* Wrapper */
.case-wrapper {
  max-width: 1200px;
  margin: 0 auto 100px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.08);
  overflow: hidden;
}

/* HERO */
.case-hero {
  padding: 80px 60px 60px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.case-tag {
  display: inline-block;
  background: #dc2d27;
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 18px;
}

.case-hero h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.case-hero p {
  font-size: 18px;
  color: #475569;
}

/* IMAGE */
.case-image img {
  width: 100%;
  display: block;
}

/* GRID */
.case-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  padding: 80px 60px;
}

/* LEFT */
.case-left h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.case-left p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 32px;
}

.case-left ul {
  list-style: none;
  padding: 0;
}

.case-left li {
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
  position: relative;
}

.case-left li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #dc2d27;
  font-weight: 700;
}

/* RIGHT */
.case-right {
  background: linear-gradient(135deg, #020617, #0f172a);
  padding: 44px;
  border-radius: 22px;
  color: #ffffff;
}

.case-right h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
}

/* RESULTS */
.results-cards {
  display: grid;
  gap: 16px;
}

.result-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 18px 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-4px);
}

/* CTA */
.case-cta {
  display: block;
  margin-top: 32px;
  text-align: center;
  padding: 14px 26px;
  background: #dc2d27;
  border-radius: 999px;
  font-weight: 700;
  color: #020617;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.case-cta:hover {
  transform: translateY(-3px);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 900px) {
  .case-content-grid {
    grid-template-columns: 1fr;
    padding: 50px 24px;
  }

  .case-hero {
    padding: 60px 24px;
  }

  .case-hero h1 {
    font-size: 32px;
  }
}
