/* Container for the hero section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("/assets/images/email-marketing-service-in-pakistan-hero-bg.webp"); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 20px 0;
}

/* Overlay for the background */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 86%);
  z-index: 1;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  padding: 0 15px;
  position: relative;
  z-index: 2;
  text-align: center;
}
/* center column (text) */
.hero-left {
  color: white;
  max-width: 50%; /* Full width of the container */
  text-align: left;
}

.hero-left h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-left p {
  color: var(--light-gray);
  margin-bottom: 20px;
}

.hero-right {
  max-width: 50%;
}

.btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-red);
  color: white;
  padding: 12px 24px;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--primary-red);
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(238, 28, 37, 0.5);
  background: linear-gradient(135deg, #f53535 0%, #ee1c25 100%);
}

.cta-icon {
  margin-left: 10px;
  width: 16px;
  height: 16px;
}

.hero-right {
  max-width: 50%;
}

a.sec-btn {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--primary-red);
  padding: 12px 24px;
  margin-left: 5px;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--primary-red);
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
}

.sec-btn:hover {
  background: rgba(238, 28, 37, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(238, 28, 37, 0.3);
}

.hero-right img {
  max-width: 100%;
  height: auto;
}

/* Breadcrumb List Styling */
.breadcrumb-list {
  display: flex;
  align-items: center;
  font-size: 1rem; /* Slightly larger font size for better readability */
  color: #4b5563; /* Default gray color for the breadcrumb container */
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Individual Breadcrumb Item */
.breadcrumb-item {
  display: flex;
  align-items: center;
}

/* Breadcrumb Link Styling */
.breadcrumb-link {
  text-decoration: none;
  color: var(--primary-red); /* Vibrant blue for links */
  font-weight: 600; /* Slightly bolder text for links */
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

/* Hover Effect for Links */
.breadcrumb-link:hover {
  color: var(--primary-dark-red); /* Brighter blue for hover effect */
}

/* Breadcrumb Separator (>) Styling */
.breadcrumb-separator {
  margin: 0 0.5rem; /* Spacing between breadcrumb items */
  color: #d1d5db; /* Light gray for separator */
}

/* Current Breadcrumb Styling */
.breadcrumb-current {
  font-weight: 700; /* Bold text for the current item */
  color: var(--primary-dark-red); /* Dark shade for the current breadcrumb */
}

.content {
  max-width: 800px;
  margin: auto;
  margin-bottom: 20px;
  text-align: center;
}

.services-grid img {
  width: 80px;
}

p.last-p {
  margin-bottom: 30px;
  font-style: italic;
  font-weight: bold;
}

.marquee-section {
  padding: 30px 15px;
  text-align: center;
  background-color: #ffffff;
}

.marquee-container {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.marquee-row {
  display: flex;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  width: 300%;
  animation: none;
}

.marquee-content.left {
  animation: slide-left 50s linear infinite;
}

.marquee-content.right {
  animation: slide-right 50s linear infinite;
}

.marquee-content.paused {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 auto;
  margin: 0 10px;
}

.marquee-item img {
  height: 80px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: opacity 0.3s;
  filter: grayscale(100%) brightness(0%) contrast(100%);
}

.marquee-item img:hover {
  opacity: 0.8;
}

@keyframes slide-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.33%);
  }
}

@keyframes slide-right {
  from {
    transform: translateX(-33.33%);
  }
  to {
    transform: translateX(0);
  }
}

.cta-section {
  padding: 30px;
  text-align: center;
  border-radius: 8px;
}
.cta-container {
  max-width: 1200px;
  margin: auto;
  background-image: linear-gradient(rgb(0 0 0 / 56%), rgba(0, 0, 0, 0.56)),
    /* Just black overlay */ url(/assets/images/pk-cta-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
  border-radius: 25px;
}

.cta-content h2 {
  margin-bottom: 20px;
  color: var(--white);
}
.cta-content p {
  font-size: 1.2em;
  color: #fbfbfb;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-button {
  display: inline-flex;
  padding: 15px 25px;
  font-size: 1.2em;
  text-decoration: none;
  color: var(--white);
  background-color: var(--primary-red);
  border-radius: 5px;
  transition: background-color 0.3s ease;
  align-items: center;
  justify-content: center;
  width: auto;
}

.cta-button img {
  margin-left: 10px;
  width: 18px;
  height: auto;
}

.cta-button:hover {
  color: #ccc;
  background-color: var(--primary-dark-red);
}

/* Services Overview Section */
.services-overview {
  padding: 30px 0;
  position: relative; /* Required for the overlay pseudo-element */
  background-image: url("/assets/images/website-development-services-in-pakistan.webp"); /* Background image */
  background-size: cover; /* Ensures the image covers the section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents image repetition */
}

/* Overlay using pseudo-element */
.services-overview::before {
  content: ""; /* Required for pseudo-element */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Black overlay with 50% opacity for readability */
  z-index: 1; /* Places overlay behind content */
}

/* Ensure content stays above the overlay */
.services-overview .service-container {
  position: relative;
  z-index: 2; /* Content stays above the overlay */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 15px;
  padding: 0 15px;
  margin-bottom: 30px;
}

.service-box {
  display: block;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}

h2.services-title {
  margin-bottom: 20px;
  color: var(--white);
}

.service-box:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.service-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.service-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

p.service-paragraph {
  text-align: center;
  color: #ccc;
}

.services-grid a b {
  color: var(--primary-red);
}

.testimonials-section {
  padding: 30px 15px;
  text-align: center;
  background-color: #ffffff;
}

.slider-container {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.review-card {
  flex: 0 0 32%;
  padding: 15px;
  background: #f9fafb;
  border-radius: 12px;
  margin: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.stars {
  color: #facc15;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.4;
}

.client-info span {
  color: #6b7280;
  font-weight: 400;
  font-style: italic;
  font-size: 0.9rem;
  background: #e5e7eb;
  padding: 4px 8px;
  border-radius: 6px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.slider-btn {
  background: var(--primary-red);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slider-btn img {
  width: 20px;
  height: 20px;
}

.slider-btn:hover {
  background: #2563eb;
}

.slider-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

/* Portfolio */
.portfolio-section {
  padding: 30px 15px;
  text-align: center;
}

.portfolio-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.portfolio-slide-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.portfolio-slide-item {
  flex: 0 0 50%;
  padding: 10px;
  box-sizing: border-box;
  min-width: 0;
  position: relative;
}

.portfolio-slide-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.portfolio-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

.portfolio-controls button {
  background: var(--primary-red);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  pointer-events: auto;
  z-index: 10;
}

.portfolio-controls button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.portfolio-controls button img {
  width: 20px;
  height: 20px;
}

.portfolio-actions {
  text-align: center;
  margin-top: 20px;
}

/* FAQs */
.faq-section {
  padding: 30px 0px;
  text-align: center;
  background: #f9fafb;
}

.faq-container {
  max-width: 1440px;
  padding: 0 15px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.faq-image {
  flex: 1;
  max-width: 50%;
  height: 467px;
  background: url("/assets/images/faqs-website-development-in-pakistan.webp")
    no-repeat center;
  background-size: cover;
  border-radius: 8px;
}

.faq-content {
  flex: 2;
  text-align: left;
  max-width: 50%;
}

.faq-item {
  margin-bottom: 8px;
  border: 2px solid var(--primary-red);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  padding: 12px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  color: #000;
}

.faq-question:hover {
  background: #f1f1f1;
}

.faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 12px;
  background: #f9f9f9;
  display: none;
  color: #666;
}

.faq-answer.active {
  display: block;
}

/* Section Wrapper */
.why-us {
  padding: 40px 0px;
  background-color: var(--light-gray);
  font-family: "Inter", sans-serif;
}

/* Container */
.why-us-container {
  max-width: 1440px;
  padding: 0 15px;
  margin: 0 auto;
  text-align: center;
}

/* Subheading */
.why-us .subheading {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Intro Paragraph */
.why-us .intro {
  font-size: 16px;
  color: var(--dark-gray);
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Reasons Grid */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24%, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

/* Each Reason Box */
.reason {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.reason::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-dark-red)
  );
  transition: all 0.5s ease;
  opacity: 0.1;
  z-index: 0;
}

.reason:hover::before {
  left: 0;
  opacity: 0.15;
}

.reason:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Reason Icon */
.reason img {
  width: 50px;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
}

/* Reason Title */
.reason h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
}

/* Reason Description */
.reason p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.6;
  z-index: 1;
  position: relative;
}

/* Closing Paragraph */
.why-us .closing {
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Why Choose Blendz Marketing Section */
.seo-trend {
  position: relative;
  padding: 40px 0;
  background-size: cover;
  background-position: center;
}

.seo-trend .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.seo-trend .container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: auto;
  padding: 0 15px;
}

.why-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

p.why-p {
  color: #ccc;
  text-align: center;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 3fr));
  gap: 15px;
  margin-bottom: 30px;
  max-width: 100%;
}

.why-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.why-box:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.why-box .why-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.why-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.right-box strong {
  color: #333;
}

.why-box p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.why-cta {
  text-align: center;
}

/* Work Process */
#process-sec {
  padding: 40px 15px;
  background-color: rgb(255 255 255 / 90%);
}

.justify-content-center {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  margin-bottom: 40px;
}

span.sub-title.sub-title4 {
  position: relative;
  font-size: 17px;
  line-height: 16px;
  text-transform: uppercase;
  background-repeat: no-repeat;
  padding: 0px 30px;
  color: var(--secondary-yellow);
  margin-bottom: 10px;
  font-weight: 700;
}

.process-card_wrapp {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.process-card {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.box-content a {
  text-decoration: none;
  color: black;
}

h3.box-title {
  font-size: 20px;
  margin-bottom: 6px;
  color: #333;
}

.box-wrapp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.box-content {
  text-align: left;
}

.box-icon {
  position: relative;
  width: 80px;
  height: 80px;
  line-height: 114px;
  text-align: center;
  background-color: var(--white);
  border: 2px solid #ed1d26;
  border-radius: 50%;
  z-index: 2;
}

.box-icon img {
  transition: 0.4s ease-in-out;
}

.process-card .box-shape {
  margin-left: -46px;
}

h2.sec-title {
  margin-bottom: 20px;
}

.process-card .box-number {
  font-weight: 700;
  font-size: 32px;
  line-height: 42px;
  color: #d8dde1;
  margin-left: 10px;
}

.process-card .box-text {
  font-size: 14px;
  max-width: 280px;
  margin-bottom: -0.3rem;
}

.faq-content h3 {
  font-size: 18px;
  color: #333;
}

.final-cta {
  background: #f9fafb;
}

.final-containter {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-dark-red)
  ); /* Gradient mix */
  max-width: 1440px;
  margin: auto 15px;
  text-align: center;
  padding: 30px 0;
  border-radius: 25px;
  margin-bottom: 20px;
}

.final-containter h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.final-containter p {
  color: #fbfbfb;
  max-width: 800px;
  margin: 20px auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px); /* Adds slight lift effect on hover */
}

.cta-btn:active {
  transform: translateY(0); /* Resets the hover effect */
}

.cta-icon {
  margin-left: 10px; /* Space between text and icon */
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 15px 0;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-left h1 {
    margin-bottom: 10px;
  }

  .hero-right {
    max-width: 100%;
  }

  .breadcrumb-list {
    justify-content: center;
    margin-bottom: 15px;
  }

  .cta-section {
    padding: 15px;
    margin: 0px;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .cta-content p {
    font-size: 15px;
    margin-bottom: 15px;
    text-align: center;
  }

  .cta-button.cta-primary {
    font-size: 13px;
    padding: 13px;
    font-weight: 600;
  }
  .services-overview .service-container {
    padding: 0 15px;
  }

  .usp-card {
    width: 100%;
  }
  .marquee-section {
    padding: 10px;
  }

  .boxes-container {
    flex-direction: column;
  }

  .left-box {
    width: 100%;
  }

  .btn,
  a.sec-btn {
    width: 49%;
    justify-content: center;
    margin: 0px;
    font-size: 13px;
    padding: 10px;
  }

  a.sec-btn {
    margin-left: 2px;
  }

  .hero-left p {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
  }
  .right-box {
    width: 100%;
  }

  .box.right-box ul li {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    text-align: center;
    gap: 5px;
    margin: 0px;
    margin-bottom: 20px;
  }

  a.breadcrumb-link {
    font-size: 14px;
  }

  .breadcrumb-current {
    font-size: 14px;
  }

  .services-overview {
    padding: 30px 0;
    text-align: center;
  }

  .services-grid {
    margin: 0px;
    padding: 0px;
    padding-top: 20px;
    gap: 10px;
  }

  .service-box h3 {
    font-size: 18px;
  }

  .service-box p {
    text-align: center;
  }

  .box.right-box h3 {
    text-align: center;
    margin-bottom: 15px;
  }

  .why-us {
    padding: 20px 0;
  }

  .why-us-container {
    padding: 0 15px;
  }

  .why-us .subheading {
    font-size: 16px;
    text-align: center;
  }

  .why-us .intro {
    margin: 0px;
    text-align: center;
  }
  .why-us .closing{
    text-align: center;
  }
  .reasons-grid {
    padding: 20px 0;
    margin: 0px;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }

  .reason h3 {
    font-size: 18px;
  }
  .reason p {
    font-size: 14px;
    text-align: center;
  }
  .testimonials-section {
    padding: 20px 15px;
  }

  .review-card {
    flex: 0 0 95.6%;
    margin: 8px;
    padding: 12px;
  }

  #process-sec {
    padding: 15px 0;
  }

  h3.box-title {
    font-size: 18px;
  }

  .container {
    padding: 0 15px;
  }

  .process-card .box-shape {
    margin-left: -78px;
  }

  .seo-trend {
    padding: 30px 0;
  }

  .trend-grid {
    padding-top: 20px;
    margin: 0px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .why-box h3 {
    font-size: 18px;
  }
  .why-box p{
    text-align: center;
  }
  .slider-btn {
    width: 32px;
    height: 32px;
  }

  .slider-btn img {
    width: 16px;
    height: 16px;
  }

  .portfolio-section {
    padding: 15px;
  }

  .portfolio-slide-item {
    flex: 0 0 100%;
  }

  .portfolio-controls button {
    width: 32px;
    height: 32px;
  }

  .portfolio-controls button img {
    width: 16px;
    height: 16px;
  }

  .faq-section {
    padding: 20px 15px;
  }

  .faq-container {
    flex-direction: column;
    gap: 15px;
    padding: 0px;
  }

  .faq-image {
    max-width: 100%;
    height: 300px;
  }

  .faq-content {
    max-width: 100%;
    padding-top: 20px;
  }

  .faq-content h3 {
    font-size: 16px;
  }
  .faq-question {
    font-size: 1.1em;
    padding: 10px;
  }

  .faq-answer {
    font-size: 0.95em;
    padding: 10px;
  }

  .final-containter {
    padding: 30px;
  }

  .content {
    margin: 0px;
  }

  .content p {
    font-size: 14px;
    margin: 0px;
    text-align: center;
  }
  
  .final-containter p {
    font-size: 14px;
  }
}
