* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #1f2734;
}
.bg-rest {
  background-image: url("./Images/grid\ bg.svg");
  background-repeat: repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}
/* hero-section */
.landing-banner {
  display: flex;
  /* min-height: 80dvh; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: url("/Images/Background\ pattern\ decorative.svg") no-repeat;
  background-size: cover;
  color: white;
  padding: 110px 20px 60px;
  position: relative;
  overflow: hidden;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  position: relative;
  padding: 0 15px;
}

.banner-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* prevent blocking clicks on CTA */
}

/* Common wrapper */
.img-wrapper {
  position: absolute;
  display: inline-block;
}

/* Glow background */
.img-glow {
  position: absolute;
  bottom: 50px;
  right: 10px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(100px);
  z-index: 0;
}

/* Image styles */
.img-1,
.img-2 {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%; /* circular look */
  z-index: 1;
}

/* Position for left image */
.img-1-wrapper {
  left: -150px; /* adjust placement */
  bottom: -50px;
}
.glow-1 {
  background: #2e93fa; /* blue */
}

/* Position for right image */
.img-2-wrapper {
  right: -150px; /* adjust placement */
  bottom: 0px;
}
.glow-2 {
  background: #e76100; /* orange */
}
.banner-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
}

.banner-content p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 1);
}

.banner-content p b {
  font-weight: 600;
}
.banner-content p b:nth-of-type(1) {
  color: #1aac87;
}
.banner-content p b:nth-of-type(2) {
  color: #92bfff;
}
.banner-content p b:nth-of-type(3) {
  color: #fff;
}
.banner-content p b:nth-of-type(4) {
  color: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .banner-images {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .landing-banner {
    padding: 80px 15px 40px;
  }

  .banner-content h1 {
    font-size: 42px;
  }

  .banner-content p {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .landing-banner {
    padding: 60px 10px 30px;
  }

  .banner-content h1 {
    font-size: 32px;
  }

  .banner-content p {
    font-size: 14px;
  }
}

.glow-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  background: linear-gradient(
    to right,
    rgba(58, 115, 255, 0.5),
    rgba(30, 30, 48, 0)
  );
  z-index: 0;
}
.glow-strip:first-of-type {
  left: 0;
  background-color: #2e93fa;
  filter: blur(138px);
}
.glow-strip:last-of-type {
  right: 0;
  background-color: #2e93fa;
  filter: blur(138px);
}

/* Spark (stars) */
.spark {
  position: absolute;
  background-image: url("./Images/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease;
}

.spark-1 {
  top: 10%;
  left: 20%;
  width: 25px;
  height: 100%;
}
.spark-2 {
  top: 10%;
  left: 80%;
  width: 25px;
  height: 100%;
}
.spark-3 {
  top: 50%;
  right: 10%;
  width: 15px;
  height: 15px;
}
.spark-4 {
  bottom: 25%;
  left: 5%;
  width: 18px;
  height: 18px;
}
.spark-5 {
  bottom: 10%;
  right: 20%;
  width: 22px;
  height: 22px;
}

/* Pointer (arrows) */
.pointer {
  position: absolute;
  background-image: url("./Images/arrow\ up.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  transition: all 0.3s ease;
}

.pointer-1 {
  top: 15%;
  right: 0;
  width: 300px;
  height: 200px;
}
.pointer-2 {
  top: 40%;
  left: 20%;
  width: 35px;
  height: 35px;
}
.pointer-3 {
  bottom: 30%;
  right: 25%;
  width: 40px;
  height: 40px;
}
.pointer-4 {
  bottom: 15%;
  left: 35%;
  width: 45px;
  height: 45px;
}
.pointer-5 {
  top: 5%;
  left: 50%;
  width: 38px;
  height: 38px;
}

/* hero-end */
.link-building-section {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 24px;
  overflow: hidden;
  perspective: 1000px;
}

.link-building-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.text-content {
  max-width: 630px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 32px);
  height: 100%;
}

.text-content h2 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  color: #ffaa6d;
  line-height: 1.2;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.text-content h2.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-content p {
  font-size: clamp(15px, 1vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.text-content p.animate-on-scroll.visible {
  opacity: 0.9;
  transform: translateY(0);
}

.link {
  display: inline-block;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 2px 0;
}

.link:hover {
  color: #ffaa6d;
  text-decoration-thickness: 2px;
  transform: translateY(-1px);
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.image-container.animate-on-scroll.visible {
  opacity: 1;
  transform: translateX(0);
}

.image-container::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(46, 147, 250, 0.1) 0%,
    rgba(231, 97, 0, 0.05) 100%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.7;
  }
}

.main-img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
}

/* Decorative elements */
.link-building-section::before,
.link-building-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
}

.link-building-section::before {
  background: #2e93fa;
  top: -100px;
  left: -100px;
}

.link-building-section::after {
  background: #e76100;
  bottom: -100px;
  right: -100px;
}

/* Responsive Styles */
@media screen and (max-width: 1400px) {
  .link-building-container {
    max-width: 1200px;
    gap: clamp(40px, 5vw, 60px);
  }

  .main-img {
    max-width: min(100%, 480px);
  }
}

@media screen and (max-width: 1200px) {
  .link-building-section {
    padding: clamp(60px, 6vw, 80px) 24px;
  }

  .link-building-container {
    gap: clamp(32px, 4vw, 50px);
  }

  .text-content {
    gap: clamp(20px, 3vw, 24px);
  }
}

@media screen and (max-width: 992px) {
  .link-building-container {
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: clamp(32px, 5vw, 40px);
  }

  .text-content {
    text-align: center;
    align-items: center;
    max-width: 100%;
  }

  .image-container {
    order: -1;
  }

  .image-container.animate-on-scroll {
    transform: translateY(30px);
  }

  .image-container.animate-on-scroll.visible {
    transform: translateY(0);
  }

  .main-img {
    max-width: min(100%, 400px);
  }
}

@media screen and (max-width: 768px) {
  .link-building-section {
    padding: clamp(40px, 5vw, 60px) 20px;
  }

  .link-building-container {
    gap: clamp(24px, 4vw, 32px);
  }

  .main-img {
    max-width: 100%;
    border-radius: clamp(12px, 2vw, 16px);
  }
}

@media screen and (max-width: 480px) {
  .link-building-section {
    padding: clamp(40px, 4vw, 50px) 16px;
  }

  .text-content {
    gap: clamp(16px, 3vw, 20px);
  }

  .link-building-section::before,
  .link-building-section::after {
    width: 150px;
    height: 150px;
    filter: blur(60px);
  }

  @keyframes pulse {
    0%,
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.3;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.03);
      opacity: 0.5;
    }
  }
}

/* ---------- FIRST SECTION ---------- */
.secondsection {
  width: 100%;
  padding: clamp(50px, 8vw, 80px) clamp(20px, 6vw, 80px);
  background: radial-gradient(
    ellipse 72.57% 70.97% at 50% 99.98%,
    #adb3e0 0%,
    #3b3f5a 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 5vw, 62px);
  box-sizing: border-box;
  color: white;
  position: relative;
  overflow: hidden;
}

.secondsection::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("./Images/grid bg.svg") repeat;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: clamp(30px, 4vw, 40px);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.3;
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtext {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.hero-subtext.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2vw, 24px);
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.hero-card {
  padding: clamp(24px, 3vw, 32px);
  background: rgba(59, 63, 90, 0.9);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  backdrop-filter: blur(8px);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out,
    box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-card:nth-child(1) {
  transition-delay: 0.1s;
}
.hero-card:nth-child(2) {
  transition-delay: 0.2s;
}
.hero-card:nth-child(3) {
  transition-delay: 0.3s;
}
.hero-card:nth-child(4) {
  transition-delay: 0.4s;
}

.hero-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.hero-card:hover {
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.dot {
  width: clamp(12px, 1vw, 14px);
  height: clamp(12px, 1vw, 14px);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.hero-card:hover .dot {
  transform: scale(1.2);
}

.blue-dot {
  background: #45a7de;
  box-shadow: 0 0 20px rgba(69, 167, 222, 0.3);
}
.orange-dot {
  background: #ea5f38;
  box-shadow: 0 0 20px rgba(234, 95, 56, 0.3);
}
.purple-dot {
  background: #6a26f1;
  box-shadow: 0 0 20px rgba(106, 38, 241, 0.3);
}

.hero-card-text {
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.3;
}

.hero-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 20px);
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out 0.6s, transform 0.6s ease-out 0.6s;
}

.hero-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-footer-text {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.5;
}
/* next */
.services-section {
  padding: 60px 20px 40px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  background: #fff;
}

.services-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1f2734;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-section .emoji {
  font-size: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #f4f4f4;
  border-radius: 20px;
  padding: 24px;
  text-align: left;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.service-icon {
  /* background: #fff; */
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  /* box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05); */
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #506689;
}

.service-card p {
  font-size: 14px;
  color: #506689;
}

.services-subtext {
  margin-top: 24px;
  font-size: 20px;
  color: #506689;
  margin-bottom: 24px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #f3f4f6;
  padding: 10px;
  text-align: center;
  font-size: 13px;
}

.pricing-table th {
  background: #fff4ed;
  font-weight: 600;
  font-size: 15px;
}

.pricing-table thead th {
  background: #ffedd5;
  font-size: 16px;
}

.plan-name {
  font-weight: 600;
  color: #ea580c;
}

.price {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.price span {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
}

.btn-custom {
  background: #f97316;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-custom:hover {
  background: #ea580c;
}

/* ✅ Responsive Styles */

/* Mobile/Tablet: pricing cards (show below 1024px) */
.pricing-cards {
  display: none; /* hidden by default, visible on <=1024px */
}

@media (max-width: 1024px) {
  /* hide the wide table on tablet/mobile */
  .pricing-table {
    display: none;
  }

  .pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px;
  }

  .pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #f3f4f6;
  }

  .pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .pricing-card .plan-name {
    font-weight: 600;
    color: #ea580c;
  }

  .pricing-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
  }

  .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #506689;
    font-size: 14px;
  }

  .pricing-features li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #f3f4f6;
  }

  .pricing-features li:first-of-type {
    border-top: none;
  }

  .pricing-card .btn-custom {
    width: auto;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .pricing-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .md-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .pricing-cards {
    padding: 0;
  }
  .pricing-card .btn-custom {
    width: 100%;
    margin-top: 12px;
  }
}

/* Section Background */
.quality-checks {
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
  color: white;
}

/* Container */
.qc-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Title + Subtitle */
.qc-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: #ffaa6d;
  line-height: 1.3;
}

.qc-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  color: #ccc;
}

/* Rows */
.qc-row {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}

.qc-row.reverse {
  flex-direction: row-reverse;
}

/* Ensure .qc-image always shows image correctly on all screens when using <img> inside the markup */
.qc-image {
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 200px; /* provide a sensible minimum so layout doesn't collapse */
  border-radius: 12px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* contain the img rounding */
}

/* img inside .qc-image should fill the container while preserving aspect ratio */
.qc-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text Content */
.qc-text {
  flex: 1;
  min-width: 300px;
}

.qc-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffaa6d;
}

.qc-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qc-text li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.qc-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffaa6d;
}

/* Footer Text */
.qc-footer {
  text-align: center;
  font-size: 20px;
  color: #fff;
}

.industries {
  background: #fff;
  padding: 90px 20px;
  font-family: "Poppins", sans-serif;
}

.industries-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.industries-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.industries-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: #1f2734;
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.industry-card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  color: #506689;
  font-weight: 400;
  line-height: 1.3;
  transition: background 0.2s ease;
  cursor: default;
}

.industry-card:hover {
  background: #eaeaea;
}

.industries-note {
  font-size: 1.5rem;
  font-weight: 500;
  max-width: 850px;
  margin: 0 auto;
  color: #1f2734;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .industries {
    padding: 40px 20px;
  }
  .addonicon {
    display: none;
  }
  .industries-title {
    font-size: 2.1rem;
  }
  .industry-card {
    padding: 12px;
  }
}
.addonicon {
  width: 40px;
  height: 40px;
}

.results-heading {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffaa6d;
  text-align: center;
  margin-bottom: 40px;
}

/* Grid Layout */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Card */
.kpi-card {
  display: flex;
  flex-direction: column;
  height: 315px; /* Ensures all 4 cards are equal height */
  border-radius: 16px;
  overflow: hidden;
}

/* Header (gradient top) */
.kpi-card__header {
  flex: 0 0 204px;
  padding: 74px 55px;
  background: linear-gradient(0deg, #283954 0%, #ff3e4c 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Logo */
.kpi-card__logo {
  width: 194px;
  height: 56px;
  object-fit: contain;
}

/* Body (solid bottom) */
.kpi-card__body {
  flex: 1;
  padding: 18px 24px;
  background: #283954;
  display: flex;
  align-items: center;
}

/* Stat */
.stat__value {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.stat__label {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 4px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .results-heading {
    font-size: 32px;
  }
  .kpi-card__header {
    padding: 48px 24px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .qc-row {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    align-items: center; /* center children horizontally when stacked */
  }

  .qc-row.reverse {
    flex-direction: column;
    align-items: center; /* ensure reverse rows also center */
  }

  .qc-image {
    width: 100%;
    max-width: 520px; /* constrain so images don't become too wide on medium small screens */
    height: 200px;
    margin: 0 auto; /* center the image block */
  }

  /* Center the text content on small screens and constrain width */
  .qc-text {
    width: 100%;
    max-width: 720px; /* keep lines readable */
    margin: 0 auto;
    text-align: center;
  }

  /* Keep list items readable by left-aligning them inside a centered block */
  .qc-text ul {
    display: inline-block;
    text-align: left;
    margin-top: 8px;
    max-width: 520px; /* match image/content width */
    width: 100%;
  }

  .qc-heading {
    font-size: 1.5rem;
  }
}

/* Section */
/* Framework Section */
.framework-section {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Title */
.framework-title {
  text-align: center;
  font-size: 48px;
  font-weight: 600;
  color: #ffaa6d;
  line-height: 1.3;
  margin-bottom: 60px;
}

/* Card Grid Layout */
.framework-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}

/* Card Base Styles */
.framework-card {
  position: relative;
  background: linear-gradient(100deg, #ffffff 0%, #f5f5f5 100%);
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.framework-card:hover {
  transform: translateY(-5px);
}

/* Card Size Variations */
.framework-card:nth-child(1) {
  grid-column: span 3;
  height: 300px;
}

.framework-card:nth-child(2) {
  grid-column: span 3;
  height: 300px;
}

.framework-card:nth-child(3),
.framework-card:nth-child(4),
.framework-card:nth-child(5) {
  grid-column: span 2;
  height: 300px;
}

/* Step Number */
.framework-step {
  position: absolute;
  top: -40px;
  left: -10px;
  font-size: 128px;
  font-weight: 400;
  color: rgba(255, 213, 183, 0.5);
  font-family: "Poppins", sans-serif;
}

/* Card Content */
.framework-card-title {
  position: absolute;
  bottom: 60px;
  left: 32px;
  font-size: 32px;
  font-weight: 500;
  color: #333;
}

.framework-card-text {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-size: 16px;
  color: #666;
}

/* Animation - Scroll effect */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  background: url("./Images/sectionimage.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px; /* prevents text cutoff on small screens */
}
 
/* Dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left:0 */
  background: rgba(0, 0, 0, 0.5);
}
 
.hero-overlay {
  position: relative;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}
 
.hero-tag {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0px;
  line-height: 1.2;
}
 
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 25px;
}
 
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ff7b00, #ff4d00);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 123, 0, 0.3);
}
 
.arrow {
  font-size: 1.2rem;
}
/* Tablets - stack cards */
@media (max-width: 992px) {
  .framework-cards {
    grid-template-columns: 1fr;
  }

  .framework-card,
  .framework-card:nth-child(1),
  .framework-card:nth-child(2),
  .framework-card:nth-child(3),
  .framework-card:nth-child(4),
  .framework-card:nth-child(5) {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 200px;
  }
}

/* Mobile - adjust text & spacing */
@media (max-width: 768px) {
  .framework-section {
    padding: 60px 15px;
  }

  .framework-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .framework-card {
    padding: 24px;
  }

  .framework-step {
    font-size: 80px;
    top: -20px;
    left: -5px;
  }

  .framework-card-title {
    font-size: 24px;
    bottom: 50px;
  }

  .framework-card-text {
    font-size: 16px;
  }
  
  .hero {
    height: 50vh;
    padding: 0 15px;
  }

  .hero-tag {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero {
    height: auto;
    padding: 60px 12px; /* adds breathing space */
  }

  .hero-tag {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .hero-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .arrow {
    font-size: 1rem;
  }
}

/* ✅ Responsive Styles */

@media (max-width: 1024px) {
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media (max-width: 992px) {
  .secondsection {
    padding: 60px 15px;
    gap: 40px;
  }

  .hero-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 0;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.3;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .hero-cards {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 20px;
  }
  .hero-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero-card-text {
    font-size: 20px;
  }

  .secondsection {
    padding: 50px 15px;
    gap: 30px;
  }

  .hero-cards {
    gap: 20px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .secondsection {
    padding: 40px 10px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtext {
    font-size: 15px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero-card {
    padding: 24px;
  }
}

/* ✅ Fade-In Animation */
section,
.service-card,
.hero-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible,
.service-card.visible,
.hero_card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Hero Card Hover Animation */
.hero-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card.hovered {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Default hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* When visible */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variants */
.fade-left {
  transform: translateX(-50px);
}
.fade-left.visible {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(50px);
}
.fade-right.visible {
  transform: translateX(0);
}

.zoom-in {
  transform: scale(0.8);
}
.zoom-in.visible {
  transform: scale(1);
}
/* faq */
.faq-section {
  display: flex;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 80px 30px;
}

.left-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-start;
  z-index: 2;
}

.right-section {
  flex: 1;
}

/* FAQ Item */
.faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid #fff;
  overflow: hidden;
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 18px;
}
.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  background-color: white;
}

.faq-question {
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.072px;
}

.faq-answer ul {
  padding: 20px;
}

.faq-item.active .faq-question h3 {
  color: #f97316;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-question:hover {
  background-color: rgba(249, 115, 22, 0.1);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
}

.faq-item.active .faq-question::after {
  content: "-";
  color: #f97316;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s;
  padding: 0 1.5rem;
  color: #373737;
  opacity: 0;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.064px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
  padding-top: 0;
  color: #1f2937;
  opacity: 1;
}

/* Heading */
.left-section h2 {
  color: #ff8e3d;
  font-size: 62px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -1.86px;
}

/* ---------------- Responsive ---------------- */

/* Large screens (keep sticky above 1024px) */
@media (min-width: 1025px) {
  .left-section {
    position: sticky;
    top: 20px;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .faq-section {
    flex-direction: column;
    gap: 2rem;
    padding: 60px 20px;
  }
  .left-section {
    /* align-items: center; */
    text-align: center;
    width: 100%;
  }
  .left-section h2 {
    font-size: 42px;
    line-height: 120%;
  }

  .faq-question {
    font-size: 1.1rem;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 16px;
  }

  .left-section h2 {
    font-size: 40px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .faq-section {
    padding: 40px 12px;
  }

  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }

  .faq-question::after {
    font-size: 1.2rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }
}

/* Popup Form Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(5px);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(145deg, #2a3441, #1f2734);
  padding: 2.5rem;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 5px 10px;
  line-height: 1;
}

.close-btn:hover {
  color: #2e93fa;
}

.popup-content h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.popup-content p {
  color: #a0aec0;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  resize: none;
}

.form-group textarea {
  min-height: 100px;
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 12px;
  color: #a0aec0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  pointer-events: none;
  background: #1f2734;
  padding: 0 5px;
  transform-origin: left center;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2e93fa;
  box-shadow: 0 0 0 3px rgba(46, 147, 250, 0.2);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(0.9);
  color: #2e93fa;
}

.submit-btn {
  background: linear-gradient(90deg, #2e93fa, #2575e6);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 147, 250, 0.3);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .popup-content {
    width: 95%;
    padding: 1.5rem;
  }
  
  .popup-content h2 {
    font-size: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
  }
  
  .submit-btn {
    padding: 12px 20px;
  }
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease forwards;
  padding: 15px;
  box-sizing: border-box;
}

/* Modal box */
.modal-form {
  background: #1A202C;
  padding: 32px;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: scale(0.98);
  opacity: 0;
  animation: scaleIn 0.3s ease forwards;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Header Row */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #fff, #a0aec0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* text-fill-color: transparent; */
}

/* Close button */
.close-btn {
  font-size: 22px;
  cursor: pointer;
  color: #a0aec0;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* Form fields */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contactForm input,
#contactForm textarea {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #E76100;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(231, 97, 0, 0.2);
  transform: translateY(-1px);
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: #718096;
  opacity: 0.7;
}

#contactForm textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.5;
}

/* Form group for better spacing */
.form-group {
  position: relative;
  margin-bottom: 8px;
}

/* Submit button */
#contactForm button[type="submit"] {
  background: linear-gradient(90deg, #E76100, #d45900);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(231, 97, 0, 0.25);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

#contactForm button[type="submit"]:hover {
  background: linear-gradient(90deg, #d45900, #c65300);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 97, 0, 0.35);
}

#contactForm button[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(231, 97, 0, 0.25);
}

/* Success message */
.success-message {
  display: none;
  text-align: center;
  background: rgba(74, 222, 128, 0.05);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.1);
  animation: fadeIn 0.4s ease-out;
}

.success-message h3 {
  margin: 0 0 15px 0;
  color: #4ade80;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.success-message h3::before {
  content: '✓';
  background: #4ade80;
  color: #1a202c;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.success-message p {
  color: #a0aec0;
  margin: 0 0 20px 0;
  line-height: 1.5;
  font-size: 15px;
}

.success-close-btn {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.success-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #E76100;
  transform: translateY(-1px);
}

/* Loading state for form submission */
#contactForm button[type="submit"] .button-text {
  display: inline-block;
  transition: all 0.3s ease;
}

#contactForm button[type="submit"].loading .button-text {
  opacity: 0;
}

#contactForm button[type="submit"] .spinner {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s ease-in-out infinite;
}

#contactForm button[type="submit"].loading .spinner {
  display: block;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .modal {
    padding: 20px;
  }
  
  .modal-header h2 {
    font-size: 18px;
  }
  
  #contactForm input,
  #contactForm textarea {
    font-size: 14px;
    padding: 10px;
  }
  
  #contactForm button[type="submit"] {
    font-size: 15px;
    padding: 10px;
  }
}
