/* ==========================================================================
   Chetan Roadlines – Services Page Stylesheet
   ========================================================================== */

/* ── Services Hero Section ─────────────────────────────────────────────── */
.services-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Image */
.services-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark Overlay */
.services-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Content */
.services-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 80px 24px 70px;
}

/* Decorative Red Dots */
.services-hero__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.services-hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d72a1e;
  opacity: 0.85;
  animation: dotPulse 2.4s ease-in-out infinite;
}

.services-hero__dot:nth-child(1) {
  animation-delay: 0s;
}
.services-hero__dot:nth-child(2) {
  animation-delay: 0.3s;
}
.services-hero__dot:nth-child(3) {
  animation-delay: 0.6s;
}
.services-hero__dot:nth-child(4) {
  animation-delay: 0.9s;
}
.services-hero__dot:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Heading */
.services-hero__title {
  font-family: "Sora", sans-serif;
  font-size: 36px;
  font-weight: 550;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* Subtitle */
.services-hero__subtitle {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 350;
  line-height: 1.65;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* CTA Buttons Container */
.services-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Primary CTA — Red Button */
.services-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d72a1e;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 18px;
  border-radius: 50px;
  border: 1px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(215, 42, 30, 0.35);
}

.services-hero__cta-primary:hover {
  background: #b92218;
}

/* Secondary CTA — White Outline Button */
.services-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 46px;
  border-radius: 50px;
  border: 1px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-hero__cta-secondary:hover {
  background: #D72A1E;
  color: white;
}

/* ==========================================================================
   2. Services Intro / Tagline Section
   ========================================================================== */
.services-intro {
  background: #ffffff;
  padding: 70px 0;
}

.services-intro__inner {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.services-intro__left {
  flex: 0 0 42%;
}

.services-intro__heading {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #101828;
  letter-spacing: -0.01em;
}

.services-intro__divider {
  width: 2px;
  align-self: stretch;
  background: #d72a1e;
  border-radius: 4px;
  flex-shrink: 0;
}

.services-intro__right {
  flex: 1;
}

.services-intro__text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #3d3d4e;
}

/* ==========================================================================
   3. Services Listing — Alternating Cards
   ========================================================================== */
.services-listing {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

/* ── Single Service Card ────────────────────────────────────────────────── */
.service-card {
  display: flex;
  align-items: center;
  gap: 100px;
}

/* Reversed layout (image on right) */
.service-card--reverse {
  flex-direction: row-reverse;
}

/* ── Image Block ─────────────────────────────────────────────────────────── */
.service-card__image {
  position: relative;
  flex: 0 0 38%;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 0%;
}

/* Red Tag Badge on Image */
.service-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #d72a1e;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(215, 42, 30, 0.3);
}

/* ── Content Block ───────────────────────────────────────────────────────── */
.service-card__content {
  flex: 1;
}

/* Category label above heading */
.service-card__category {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #101828;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

/* Heading */
.service-card__heading {
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: #d72a1e !important;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

/* Description text */
.service-card__text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #5c403b;
}

/* ==========================================================================
   4. The Movement Protocol Section
   ========================================================================== */
.movement-protocol {
  background: #f9fafb;
  padding: 70px 0 80px;
}

.movement-protocol__inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* "Operational Flow" Pill */
.movement-protocol__pill {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #d72a1e;
  background: #fef2f1;
  border: 1px solid #fcdbd8;
  padding: 6px 22px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

/* Section Heading */
.movement-protocol__title {
  font-family: "Sora", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #101828;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* Cards Grid */
.movement-protocol__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Single Protocol Card */
.protocol-card {
  background: transparent;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: left;
  border: 1px solid #d4d3d3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Red Number Badge */
.protocol-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #d72a1e;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 22px;
}

/* Card Heading */
.protocol-card__heading {
  font-family: "Sora", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #101828;
  margin-bottom: 12px;
}

/* Card Description */
.protocol-card__text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: #5d5d6e;
}

/* ==========================================================================
   5. IBA Certified Authority Section
   ========================================================================== */
.iba-authority {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 40px 0;
  overflow: hidden;
  width: 90%;
  margin: 0 auto;
  border-radius: 20px;
  border: #f3bdb9 solid 4px;
}

.iba-authority__inner {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Decorative Pink Blobs */
.iba-authority__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(215, 42, 30, 0.08);
  z-index: 0;
}

.iba-authority__blob--top {
  width: 120px;
  height: 120px;
  top: -50px;
  right: -50px;
}

/* ── Left Content ──────────────────────────────────────────────────────── */
.iba-authority__content {
  flex: 1;
}

/* Red line + "CERTIFIED AUTHORITY" label */
.iba-authority__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.iba-authority__line {
  display: inline-block;
  width: 36px;
  height: 3px;
  background: #d72a1e;
  border-radius: 2px;
}

.iba-authority__label-text {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #d72a1e;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Heading */
.iba-authority__heading {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #d72a1e;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* Description */
.iba-authority__text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #4b5563;
  max-width: 540px;
}

/* ── Right Certificate Card ────────────────────────────────────────────── */
.iba-authority__card {
  flex-shrink: 0;
  transform: rotate(4deg);
}

.iba-authority__card-outer {
  width: 260px;
  height: 220px;
  background: #ffffff;
  border-radius: 6px;
  border: 1.5px solid rgba(120, 60, 55, 0.6);
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.iba-authority__card-inner {
  width: 100%;
  height: 100%;
  border: 6px solid rgba(215, 42, 30, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: #fff;
}

/* IBA */
.iba-authority__card-title {
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  color: #d72a1e;
  line-height: 1;
  margin-bottom: 10px;
}

/* APPROVED TRANSPORTER */
.iba-authority__card-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #1f2937;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Divider */
.iba-authority__card-divider {
  width: 85%;
  height: 1px;
  background: rgba(215, 42, 30, 0.18);
  margin: 18px 0;
}

/* Bottom text */
.iba-authority__card-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6b4e4a;
  line-height: 1.35;
  font-style: italic;
}

/* ==========================================================================
   6. Transportation Support CTA Section
   ========================================================================== */
.support-cta {
  position: relative;
  margin: 60px auto 80px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.support-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.support-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.support-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 60px 24px;
}

.support-cta__heading {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.support-cta__text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.support-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d72a1e;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border: #ffffff solid 1px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(215, 42, 30, 0.3);
}

.support-cta__btn:hover {
  background: #b92218;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
  .services-hero {
    min-height: 420px;
  }

  .services-hero__title {
    font-size: 36px;
  }

  .services-hero__subtitle {
    font-size: 16px;
  }

  .services-hero__content {
    padding: 70px 24px 60px;
  }

  .services-intro {
    padding: 56px 0;
  }

  .services-intro__inner {
    gap: 36px;
  }

  .services-intro__heading {
    font-size: 25px;
  }

  .services-intro__text {
    font-size: 16px;
  }

  .services-listing {
    gap: 56px;
    padding: 24px 0 64px;
  }

  .service-card {
    gap: 36px;
  }

  .service-card__image img {
    height: 280px;
  }

  .service-card__heading {
    font-size: 22px;
  }

  .service-card__text {
    font-size: 15px;
  }

  .movement-protocol {
    padding: 56px 0 64px;
  }

  .movement-protocol__title {
    font-size: 30px;
    margin-bottom: 36px;
  }

  .movement-protocol__cards {
    gap: 20px;
  }

  .protocol-card {
    padding: 28px 22px;
  }

  .protocol-card__heading {
    font-size: 18px;
  }

  .protocol-card__text {
    font-size: 14px;
  }

  .iba-authority {
    padding: 50px 0;
  }

  .iba-authority__inner {
    gap: 40px;
  }

  .iba-authority__heading {
    font-size: 25px;
  }

  .iba-authority__text {
    font-size: 15px;
  }

  .support-cta {
    margin: 50px auto 70px;
    min-height: 340px;
  }

  .support-cta__heading {
    font-size: 32px;
  }

  .support-cta__text {
    font-size: 17px;
    margin-bottom: 28px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .services-hero {
    min-height: 380px;
  }

  .services-hero__content {
    padding: 60px 20px 50px;
  }

  .services-hero__title {
    font-size: 30px;
    line-height: 1.3;
  }

  .services-hero__subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .services-hero__cta-primary,
  .services-hero__cta-secondary {
    font-size: 15px;
    padding: 13px 28px;
  }

  .services-hero__dots {
    gap: 6px;
    margin-bottom: 16px;
  }

  .services-hero__dot {
    width: 10px;
    height: 10px;
  }

  .services-intro {
    padding: 44px 0;
  }

  .services-intro__inner {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .services-intro__left {
    flex: unset;
    width: 100%;
  }

  .services-intro__heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .services-intro__divider {
    width: 60px;
    height: 3px;
    align-self: center;
    margin-bottom: 20px;
  }

  .services-intro__right {
    flex: unset;
    width: 100%;
  }

  .services-intro__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .services-listing {
    gap: 48px;
    padding: 20px 0 56px;
  }

  .service-card {
    flex-direction: column;
    gap: 24px;
  }

  .service-card--reverse {
    flex-direction: column;
  }

  .service-card__image {
    flex: unset;
    width: 100%;
  }

  .service-card__image img {
    height: 240px;
  }

  .service-card__heading {
    font-size: 22px;
  }

  .service-card__text {
    font-size: 15px;
  }

  .movement-protocol {
    padding: 44px 0 56px;
  }

  .movement-protocol__title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .movement-protocol__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .protocol-card {
    padding: 26px 22px;
    box-shadow: 0 4px 6px rgba(16, 24, 40, 0.1);
  }

  .iba-authority {
    padding: 44px 0;
  }

  .iba-authority__inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .iba-authority__label {
    justify-content: center;
  }

  .iba-authority__heading {
    font-size: 24px;
  }

  .iba-authority__text {
    font-size: 15px;
    max-width: 100%;
  }

  .iba-authority__card-outer {
    margin: 0 auto;
  }

  .iba-authority__blob--top {
    width: 120px;
    height: 120px;
  }

  .iba-authority__blob--bottom {
    width: 80px;
    height: 80px;
  }

  .support-cta {
    margin: 40px auto 60px;
    min-height: 300px;
  }

  .support-cta__inner {
    padding: 44px 20px;
  }

  .support-cta__heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .support-cta__text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .support-cta__btn {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .services-hero {
    min-height: 340px;
  }

  .services-hero__content {
    padding: 50px 16px 44px;
  }

  .services-hero__title {
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .services-hero__subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .services-hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .services-hero__cta-primary,
  .services-hero__cta-secondary {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 14px 24px;
  }

  .services-hero__dots {
    gap: 5px;
    margin-bottom: 14px;
  }

  .services-hero__dot {
    width: 8px;
    height: 8px;
  }

  .services-intro {
    padding: 36px 0;
  }

  .services-intro__heading {
    font-size: 21px;
  }

  .services-intro__text {
    font-size: 14px;
  }

  .services-listing {
    gap: 40px;
    padding: 16px 0 44px;
  }

  .service-card {
    gap: 18px;
  }

  .service-card__image img {
    height: 200px;
  }

  .service-card__tag {
    font-size: 11px;
    padding: 5px 12px;
    top: 12px;
    left: 12px;
  }

  .service-card__category {
    font-size: 14px;
  }

  .service-card__heading {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .service-card__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .movement-protocol {
    padding: 36px 0 44px;
  }

  .movement-protocol__pill {
    font-size: 12px;
    padding: 18px 28px;
  }

  .movement-protocol__title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .movement-protocol__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .protocol-card {
    padding: 24px 20px;
  }

  .protocol-card__number {
    width: 38px;
    height: 38px;
    font-size: 14px;
    margin-bottom: 16px;
  }

  .protocol-card__heading {
    font-size: 18px;
  }

  .protocol-card__text {
    font-size: 14px;
  }

  .iba-authority {
    padding: 36px 0;
  }

  .iba-authority__inner {
    gap: 28px;
  }

  .iba-authority__heading {
    font-size: 21px;
  }

  .iba-authority__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .iba-authority__card-outer {
    width: 190px;
    height: 175px;
    padding: 12px;
  }

  .iba-authority__card-title {
    font-size: 28px;
  }

  .iba-authority__card-subtitle {
    font-size: 10px;
  }

  .iba-authority__card-desc {
    font-size: 11px;
  }

  .iba-authority__blob--top {
    width: 90px;
    height: 90px;
  }

  .iba-authority__blob--bottom {
    width: 60px;
    height: 60px;
  }

  .support-cta {
    margin: 30px auto 50px;
    min-height: 260px;
    width: 92%;
    border-radius: 14px;
  }

  .support-cta__inner {
    padding: 36px 16px;
  }

  .support-cta__heading {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .support-cta__text {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .support-cta__btn {
    padding: 11px 26px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}
