/* Veda — UI polish and motion (lightweight, non-breaking) */

:root {
  --veda-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --veda-shadow-soft: 0 12px 40px rgba(12, 48, 40, 0.08);
}

/* Scroll reveal (add .veda-reveal to elements) */
.veda-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--veda-ease), transform 0.65s var(--veda-ease);
}
.veda-reveal.veda-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle lift on hover for cards / image blocks */
.image-effect.br-12,
.image-effect.br-16 {
  transition: box-shadow 0.35s var(--veda-ease), transform 0.35s var(--veda-ease);
}
.image-effect.br-12:hover,
.image-effect.br-16:hover {
  box-shadow: var(--veda-shadow-soft);
}

/* Fix photos that appear mirrored / “opposite” in the frame */
.image-effect.veda-photo-flip-h img {
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scaleX(-1);
}
.image-effect.veda-photo-flip-h:hover img {
  transform: scaleX(-1) scale(1.06);
}

/* Facilities hero strip — consistent crop */
.veda-facility-hero.image-effect img,
.veda-facility-hero .image-effect img {
  width: 100%;
  max-width: 100%;
  height: 50vh;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Facilities grid — fixed aspect so images don’t look stretched wrong */
.veda-facility-grid .image-effect {
  aspect-ratio: 4 / 3;
}
.veda-facility-grid .image-effect img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

/* Title banners — gentle fade */
.title-banner .title h2,
.title-banner .title .h2 {
  animation: veda-title-in 0.6s var(--veda-ease) both;
}
@keyframes veda-title-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA buttons — subtle lift on hover */
.cus-btn,
.cus-btn-2 {
  transition: transform 0.25s var(--veda-ease), box-shadow 0.25s var(--veda-ease);
}
.cus-btn:hover,
.cus-btn-2:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .veda-reveal,
  .veda-reveal.veda-reveal--visible,
  .veda-sec-reveal,
  .veda-sec-reveal.veda-sec-reveal--visible,
  .title-banner .title h2,
  .title-banner .title .h2 {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Home — banner “Playing Fun Games” block: contrast + distinct colors */
.banner-sec .banner-wrapper .content.veda-home-banner-content {
  padding: clamp(20px, 2.2vw, 36px);
  background: rgba(8, 28, 24, 0.72);
  border-radius: clamp(14px, 1.1vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.veda-banner-kicker {
  color: #f7b631 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.02em;
}

.veda-banner-title {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.7);
}

.veda-banner-lead {
  color: #e4f7f3 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.65;
}

@supports (backdrop-filter: blur(8px)) {
  .banner-sec .banner-wrapper .content.veda-home-banner-content {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Back-to-top: smooth visibility + gentle attention (no layout errors) */
.scrollToTopBtn {
  transition:
    opacity 0.45s var(--veda-ease),
    transform 0.45s var(--veda-ease),
    box-shadow 0.35s var(--veda-ease);
}
.scrollToTopBtn.showBtn {
  box-shadow: 0 8px 28px rgba(33, 172, 148, 0.35);
}
.scrollToTopBtn:focus-visible {
  outline: 2px solid #f7b631;
  outline-offset: 3px;
}

/* What we Provide — hide house icon and seat numbers (15, 18, 22) */
.service-sec .service-card .d-flex.justify-content-between > .vr-line,
.service-sec .service-card .d-flex.justify-content-between > .d-flex.gap-8:has(svg path[d*="M11.0177"]) {
  display: none !important;
}
.service-sec .service-card .d-flex.justify-content-between {
  justify-content: center !important;
}

/* Testimonials — no parent photos */
.testimonial-sec .user-block img,
.testimonial-sec .user-01 {
  display: none !important;
}

/* Hero — decorative layers must not block Enquire / call CTAs */
.hero-banner .cloud,
.hero-banner .cloud-bg,
.hero-banner .hero-content .vec-1,
.hero-banner .hero-content .vec-2 {
  pointer-events: none;
}
.hero-banner > .row {
  position: relative;
  z-index: 50;
}
.hero-banner .hero-content a.cus-btn,
.hero-banner .hero-content a.cus-btn-2 {
  position: relative;
  z-index: 2;
}

/* Hero — light motion on decorative vectors */
.hero-banner .vec-1 {
  animation: veda-hero-float 7s ease-in-out infinite;
}
.hero-banner .vec-2 {
  animation: veda-hero-float 9s ease-in-out infinite reverse;
}
@keyframes veda-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Home — “Why choose Veda” spotlight */
.veda-home-spotlight .veda-spotlight-img {
  overflow: hidden;
  min-height: 280px;
}
.veda-home-spotlight .veda-spotlight-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--veda-ease);
}
.veda-home-spotlight .veda-spotlight-img:hover img {
  transform: scale(1.04);
}
.veda-spotlight-card {
  background: linear-gradient(145deg, #f8fdfb 0%, #eef9f5 100%);
  border: 1px solid rgba(33, 172, 148, 0.15);
  transition:
    transform 0.35s var(--veda-ease),
    box-shadow 0.35s var(--veda-ease);
}
.veda-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--veda-shadow-soft);
}

/* Home — campus visit CTA band */
.veda-home-visit__inner {
  padding: clamp(28px, 3.5vw, 48px);
  background: linear-gradient(120deg, #1a9a86 0%, #21ac94 45%, #18917a 100%);
  box-shadow: 0 16px 48px rgba(12, 48, 40, 0.18);
}
.veda-home-visit__eyebrow {
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.85);
}
.veda-home-visit__title {
  color: #fafafa;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}
.veda-home-visit__lead {
  color: rgba(250, 250, 250, 0.92);
  max-width: 42rem;
  line-height: 1.65;
}

/* Section headings — subtle underline accent on hover (home) */
.learn-sec .learn-block,
.service-sec .service-card {
  transition: transform 0.35s var(--veda-ease);
}
.learn-sec .learn-block:hover {
  transform: translateY(-3px);
}

/* Home — About: “tiny steps / big dreams” block */
.veda-about-media {
  position: relative;
  cursor: pointer;
  border-radius: clamp(28px, 5vw, 100px) 0 clamp(28px, 5vw, 100px) 0;
  overflow: hidden;
  box-shadow: 12px 14px 0 #f7b631;
  transition:
    transform 0.4s var(--veda-ease),
    box-shadow 0.4s var(--veda-ease);
}
.veda-about-media:hover {
  transform: translateY(-5px);
  box-shadow: 14px 18px 0 rgba(247, 182, 49, 0.92);
}
.veda-about-media:focus-within {
  outline: 2px solid #21ac94;
  outline-offset: 6px;
}
.veda-about-media__img {
  display: block;
  width: 100%;
  height: min(85vh, 720px);
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}
.veda-about-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(80px, 14vw, 132px);
  height: clamp(80px, 14vw, 132px);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #f7b631;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(12, 12, 13, 0.14);
  transition:
    transform 0.3s var(--veda-ease),
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.veda-about-media:hover .veda-about-play {
  transform: translate(-50%, -50%) scale(1.05);
  background: #fff;
  box-shadow: 0 14px 40px rgba(33, 172, 148, 0.2);
}
.veda-about-play__icon {
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1;
  margin-left: 5px;
}
.veda-about-play:focus-visible {
  outline: 3px solid #21ac94;
  outline-offset: 3px;
}
.veda-about-copy {
  max-width: 36rem;
}
@media (min-width: 992px) {
  .veda-about-copy {
    padding-left: clamp(0.5rem, 2.2vw, 2.25rem);
    max-width: none;
  }
}
.veda-about-eyebrow {
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #21ac94;
}
.veda-about-heading {
  font-size: clamp(1.65rem, 2.75vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #1e1f20;
}
.veda-about-tagline {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.6;
  color: #45474f;
}
.veda-about-divider {
  height: 4px;
  width: 72px;
  border-radius: 4px;
  background: linear-gradient(90deg, #21ac94 0%, #f7b631 100%);
}
.veda-about-linkcard {
  transition:
    background 0.3s var(--veda-ease),
    transform 0.3s var(--veda-ease);
  border-radius: clamp(10px, 0.9vw, 16px);
  padding: 14px 12px;
  margin-left: -12px;
  margin-right: -12px;
}
.veda-about-linkcard:hover {
  background: rgba(33, 172, 148, 0.07);
  transform: translateX(4px);
}

/* —— Equal-height card grids (learn / service / pricing / process) —— */
.learn-sec .row.align-items-stretch > [class*="col-"] {
  display: flex;
}
.learn-sec .learn-block {
  width: 100%;
  min-height: 100%;
  align-items: center;
  justify-content: flex-start;
}
.learn-sec .learn-block .svg {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.learn-sec .learn-block .svg svg {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  max-height: 88px !important;
}
.learn-sec .learn-block h5 {
  flex-shrink: 0;
}
.learn-sec .learn-block p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.service-sec .row.align-items-stretch > [class*="col-"] {
  display: flex;
}
.service-sec .service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.service-sec .service-card .card-img {
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  display: block;
}
.service-sec .service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}
.service-sec .service-card > div:last-of-type {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.service-sec .service-card > div:last-of-type > .text-center {
  flex: 1 1 auto;
}
.service-sec .service-card > div:last-of-type > .d-flex.align-items-center.justify-content-between {
  margin-top: auto;
}

.pricing-sec .row.align-items-stretch > [class*="col-"] {
  display: flex;
}
.pricing-sec .pricing-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.pricing-sec .pricing-card .topbar {
  flex-shrink: 0;
}
.pricing-sec .pricing-card .centerbar {
  flex: 1 1 auto;
}
.pricing-sec .pricing-card .bottom-bar {
  flex-shrink: 0;
  margin-top: auto;
}

.work-sec .row.align-items-stretch > [class*="col-"] {
  display: flex;
  align-items: stretch;
}
.work-sec .work-card {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  align-self: center;
}
@media (max-width: 520px) {
  .work-sec .work-card {
    max-width: min(100%, 92vw);
  }
}

/* Inner pages: programme / detail cards in a row */
.service-detail-sec .row.align-items-stretch > [class*="col-"],
.row.veda-equal-cols > [class*="col-"] {
  display: flex;
}
.service-detail-sec .row.align-items-stretch .p-24.br-16.h-100,
.row.veda-equal-cols .h-100 {
  width: 100%;
}

.contact-sec .row.align-items-stretch > [class*="col-"] {
  display: flex;
}
.contact-sec .contact-block.h-100 {
  width: 100%;
}

/* Section scroll-in (used with veda-ui.js; skips sections that already use WOW on the <section>) */
.veda-sec-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--veda-ease), transform 0.7s var(--veda-ease);
}
.veda-sec-reveal.veda-sec-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner .vec-1,
  .hero-banner .vec-2 {
    animation: none !important;
  }
  .scrollToTopBtn.showBtn {
    box-shadow: none;
  }
  .veda-home-spotlight .veda-spotlight-img:hover img {
    transform: none;
  }
  .veda-spotlight-card:hover {
    transform: none;
  }
  .learn-sec .learn-block:hover {
    transform: none;
  }
  .veda-about-media:hover {
    transform: none;
    box-shadow: 12px 14px 0 #f7b631;
  }
  .veda-about-media:hover .veda-about-play {
    transform: translate(-50%, -50%);
  }
  .veda-about-linkcard:hover {
    transform: none;
  }
  .veda-sec-reveal,
  .veda-sec-reveal.veda-sec-reveal--visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Veda motion pack: images + text (scroll + ambient) —— */

/* Scroll-triggered image blocks (class toggled by veda-ui.js) */
.veda-img-entrance {
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.75s var(--veda-ease),
    transform 0.75s var(--veda-ease);
  transition-delay: var(--veda-entrance-delay, 0ms);
}
.veda-img-entrance.veda-img-entrance--in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.veda-img-entrance img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.12);
  transition: transform 1.1s var(--veda-ease);
  transition-delay: var(--veda-entrance-delay, 0ms);
}
.image-effect.veda-photo-flip-h.veda-img-entrance img {
  transform: scaleX(-1) scale(1.12);
}
.veda-img-entrance.veda-img-entrance--in img {
  transform: scale(1);
}
.image-effect.veda-photo-flip-h.veda-img-entrance.veda-img-entrance--in img {
  transform: scaleX(-1) scale(1);
}
.veda-about-media.veda-img-entrance {
  transform: translateY(28px) scale(0.98);
}
.veda-about-media.veda-img-entrance.veda-img-entrance--in {
  transform: translateY(0) scale(1);
}
.veda-about-media.veda-img-entrance img {
  transform: scale(1.06);
}
.veda-about-media.veda-img-entrance.veda-img-entrance--in img {
  transform: scale(1);
  animation: veda-ken-subtle 14s ease-in-out infinite alternate;
}

@keyframes veda-ken-subtle {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.05) translate(-1.2%, -1%);
  }
}

a.card-img.veda-img-entrance {
  display: block;
  border-radius: inherit;
  overflow: hidden;
}
a.card-img.veda-img-entrance.veda-img-entrance--in img {
  animation: veda-ken-subtle 16s ease-in-out infinite alternate;
}

/* Standalone content images (class applied directly on <img> by veda-ui.js) */
img.veda-img-entrance {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition:
    opacity 0.72s var(--veda-ease),
    transform 0.78s var(--veda-ease);
  transition-delay: var(--veda-entrance-delay, 0ms);
  max-width: 100%;
  height: auto;
}
img.veda-img-entrance.veda-img-entrance--in {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: veda-ken-subtle 17s ease-in-out 0.45s infinite alternate;
}

.image-effect.veda-img-entrance.veda-img-entrance--in:not(.veda-photo-flip-h) img,
.veda-spotlight-img.veda-img-entrance.veda-img-entrance--in img {
  animation: veda-ken-subtle 18s ease-in-out infinite alternate;
}

/* Hero photo (right column) */
.hero-banner .row > .col-lg-6 + .col-lg-6 {
  overflow: hidden;
  border-radius: clamp(12px, 2vw, 28px);
}
.hero-banner .row > .col-lg-6 + .col-lg-6 img {
  animation:
    veda-hero-photo-in 1s var(--veda-ease) both,
    veda-ken-subtle 20s ease-in-out 1s infinite alternate;
}

@keyframes veda-hero-photo-in {
  from {
    opacity: 0;
    transform: scale(1.08) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Hero text stagger */
.hero-content > .d-flex.align-items-center {
  animation: veda-fade-up 0.65s var(--veda-ease) 0.15s both;
}
.hero-content > h1 {
  animation: veda-fade-up 0.75s var(--veda-ease) 0.28s both;
}
.hero-content > h1 .color-primary {
  display: inline-block;
  animation: veda-shimmer-text 4s ease-in-out infinite;
  background: linear-gradient(
    105deg,
    #21ac94 0%,
    #21ac94 40%,
    #f7b631 50%,
    #21ac94 60%,
    #21ac94 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-content > p.mb-48 {
  animation: veda-fade-up 0.75s var(--veda-ease) 0.42s both;
}
.hero-content > div:has(.cus-btn) {
  animation: veda-fade-up 0.7s var(--veda-ease) 0.55s both;
}

@keyframes veda-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes veda-shimmer-text {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-content .startsvg {
  animation: veda-star-wiggle 3.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes veda-star-wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-6deg) scale(1.04);
  }
  75% {
    transform: rotate(6deg) scale(1.04);
  }
}

/* About block copy */
.veda-about-eyebrow {
  animation: veda-fade-up 0.6s var(--veda-ease) both;
}
.veda-about-heading {
  animation: veda-fade-up 0.7s var(--veda-ease) 0.08s both;
}
.veda-about-heading .color-primary {
  animation: veda-shimmer-text 5s ease-in-out infinite;
  background: linear-gradient(
    105deg,
    #21ac94 0%,
    #21ac94 35%,
    #f7b631 50%,
    #21ac94 65%,
    #21ac94 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.veda-about-tagline {
  animation: veda-fade-up 0.65s var(--veda-ease) 0.16s both;
}
.veda-about-divider {
  animation: veda-line-grow 0.85s var(--veda-ease) 0.35s both;
  transform-origin: left center;
}

@keyframes veda-line-grow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Section headings: accent + soft pop when section is visible */
.learn-sec .heading h2,
.learn-sec .text-center h2,
.service-sec .heading h2,
.veda-home-spotlight h2,
.pricing-sec .heading h2,
.pricing-sec .text-center h2,
.work-sec .heading h2,
.work-sec .text-center h2,
.banner-sec .veda-banner-title {
  animation: veda-heading-pop 0.75s var(--veda-ease) both;
}

@keyframes veda-heading-pop {
  from {
    opacity: 0;
    transform: translateY(14px);
    letter-spacing: 0.02em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: normal;
  }
}

.learn-sec .heading h2 .color-primary,
.learn-sec .text-center h2 .color-primary,
.pricing-sec .text-center h2 .color-primary,
.work-sec .text-center h2 .color-primary,
.service-sec .heading h2 .color-sec,
.veda-home-spotlight h2 .color-primary {
  animation: veda-shimmer-text 5.5s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    currentColor 0%,
    currentColor 38%,
    #f7b631 50%,
    currentColor 62%,
    currentColor 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Learn blocks: icon float */
.learn-sec .learn-block .svg {
  animation: veda-icon-float 5s ease-in-out infinite;
}
.learn-sec .row.align-items-stretch > [class*="col-"]:nth-child(1) .learn-block .svg {
  animation-delay: 0s;
}
.learn-sec .row.align-items-stretch > [class*="col-"]:nth-child(2) .learn-block .svg {
  animation-delay: 0.35s;
}
.learn-sec .row.align-items-stretch > [class*="col-"]:nth-child(3) .learn-block .svg {
  animation-delay: 0.7s;
}
.learn-sec .row.align-items-stretch > [class*="col-"]:nth-child(4) .learn-block .svg {
  animation-delay: 1.05s;
}

@keyframes veda-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Header logo — same asset as footer; keep aspect ratio (no stretch) */
.header .main-menu .navigation .left-side .header-logo,
.stricky-header .sticky-header__content .navigation .left-side .header-logo {
  width: auto !important;
  height: auto;
  max-width: clamp(158px, 13.229vw, 280px);
  max-height: clamp(44px, 4.5vw, 72px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (max-width: 1024px) {
  .header .main-menu .navigation .left-side .header-logo,
  .stricky-header .sticky-header__content .navigation .left-side .header-logo {
    max-width: min(200px, 52vw);
    max-height: 52px;
  }
}

.header .header-logo,
.stricky-header .header-logo {
  animation: veda-logo-in 0.7s var(--veda-ease) both;
}

@keyframes veda-logo-in {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Play button pulse */
.veda-about-play {
  animation: veda-play-pulse 2.4s ease-in-out infinite;
}

@keyframes veda-play-pulse {
  0%,
  100% {
    box-shadow: 0 12px 36px rgba(12, 12, 13, 0.14);
  }
  50% {
    box-shadow:
      0 12px 36px rgba(33, 172, 148, 0.25),
      0 0 0 10px rgba(247, 182, 49, 0.12);
  }
}

/* Spotlight cards: subtle border glow on hover (extra motion) */
.veda-spotlight-card {
  position: relative;
}
.veda-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    125deg,
    rgba(33, 172, 148, 0.35),
    rgba(247, 182, 49, 0.25),
    rgba(33, 172, 148, 0.35)
  );
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  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 var(--veda-ease);
  pointer-events: none;
  animation: veda-border-flow 8s linear infinite;
}
.veda-spotlight-card:hover::before {
  opacity: 1;
}

@keyframes veda-border-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Title banner pages */
.title-banner .title h2 .color-primary,
.title-banner .title .h2 .color-primary {
  animation: veda-shimmer-text 5s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #21ac94 0%,
    #21ac94 38%,
    #f7b631 50%,
    #21ac94 62%,
    #21ac94 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Links / nav subtle underline slide */
.main-menu__list > li > a {
  position: relative;
  transition: color 0.25s ease;
}
.main-menu__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #21ac94, #f7b631);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--veda-ease);
}
.main-menu__list > li > a:hover::after,
.main-menu__list > li.current > a::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .veda-img-entrance,
  .veda-img-entrance.veda-img-entrance--in,
  .veda-img-entrance img,
  .veda-img-entrance.veda-img-entrance--in img,
  img.veda-img-entrance,
  img.veda-img-entrance.veda-img-entrance--in,
  .veda-about-media.veda-img-entrance img,
  .veda-about-media.veda-img-entrance.veda-img-entrance--in img,
  a.card-img.veda-img-entrance.veda-img-entrance--in img,
  .image-effect.veda-img-entrance.veda-img-entrance--in img,
  .veda-spotlight-img.veda-img-entrance.veda-img-entrance--in img,
  .hero-banner .row > .col-lg-6 + .col-lg-6 img {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .veda-img-entrance {
    opacity: 1 !important;
    transform: none !important;
  }
  .veda-img-entrance img {
    transform: none !important;
  }
  .image-effect.veda-photo-flip-h.veda-img-entrance img {
    transform: scaleX(-1) !important;
  }
  .hero-content > .d-flex.align-items-center,
  .hero-content > h1,
  .hero-content > p.mb-48,
  .hero-content > div:has(.cus-btn),
  .veda-about-eyebrow,
  .veda-about-heading,
  .veda-about-tagline,
  .veda-about-divider,
  .learn-sec .heading h2,
  .learn-sec .text-center h2,
  .service-sec .heading h2,
  .veda-home-spotlight h2,
  .pricing-sec .heading h2,
  .pricing-sec .text-center h2,
  .work-sec .heading h2,
  .work-sec .text-center h2,
  .banner-sec .veda-banner-title {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-content > h1 .color-primary,
  .veda-about-heading .color-primary,
  .learn-sec .heading h2 .color-primary,
  .learn-sec .text-center h2 .color-primary,
  .pricing-sec .text-center h2 .color-primary,
  .work-sec .text-center h2 .color-primary,
  .service-sec .heading h2 .color-sec,
  .veda-home-spotlight h2 .color-primary,
  .title-banner .title h2 .color-primary,
  .title-banner .title .h2 .color-primary {
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: inherit !important;
    color: inherit !important;
  }
  .hero-content .startsvg,
  .learn-sec .learn-block .svg {
    animation: none !important;
  }
  .header .header-logo,
  .stricky-header .header-logo {
    animation: none !important;
  }
  .veda-about-play {
    animation: none !important;
  }
  .veda-spotlight-card::before {
    display: none;
  }
  .main-menu__list > li > a::after {
    transition: none !important;
  }
}

/* —— Home notice strip (landing mid-page) —— */
.veda-home-notice-mid {
  max-width: 100%;
  margin: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.veda-home-notice-mid .veda-home-notice-strip {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(12, 48, 40, 0.14);
}
@media (min-width: 1200px) {
  .veda-home-notice-mid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
.veda-home-notice-strip {
  background: linear-gradient(105deg, #0d4f42 0%, #21ac94 45%, #178a75 100%);
  color: #fafafa;
  padding: 0.65rem 0;
  box-shadow: 0 4px 24px rgba(12, 48, 40, 0.12);
}
.veda-home-notice-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.veda-home-notice-strip__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.veda-home-notice-strip__icon {
  font-size: 1.1rem;
}
.veda-home-notice-strip__marquee {
  flex: 1 1 12rem;
  min-width: 0;
  overflow: hidden;
}
.veda-home-notice-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}
.veda-home-notice-strip__item {
  margin: 0;
  max-width: 100%;
}
.veda-home-notice-strip__link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  opacity: 0.95;
  transition: opacity 0.2s var(--veda-ease);
}
.veda-home-notice-strip__link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.veda-home-notice-strip__pin {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(247, 182, 49, 0.95);
  color: #1a1a1a;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}
.veda-home-notice-strip__title {
  font-weight: 600;
}
.veda-home-notice-strip__dash {
  opacity: 0.6;
}
.veda-home-notice-strip__excerpt {
  font-size: 0.88rem;
  opacity: 0.88;
}
.veda-home-notice-strip__cta {
  flex-shrink: 0;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}
.veda-home-notice-strip__cta:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* —— Notices page —— */
.veda-notices-body {
  background: #f6faf9;
}
.veda-notices-page {
  padding-top: 1.5rem;
}
.veda-notices-hero {
  padding: 2rem 0 1rem;
}
.veda-notices-hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #21ac94;
  font-weight: 600;
}
.veda-notices-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}
.veda-notices-hero__lead {
  max-width: 40rem;
}
.veda-notice-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  height: 100%;
  box-shadow: var(--veda-shadow-soft);
  border: 1px solid rgba(33, 172, 148, 0.12);
  transition: box-shadow 0.35s var(--veda-ease), transform 0.35s var(--veda-ease);
}
.veda-notice-card:hover {
  box-shadow: 0 16px 48px rgba(12, 48, 40, 0.12);
  transform: translateY(-2px);
}
.veda-notice-card--pinned {
  border-color: rgba(247, 182, 49, 0.55);
  background: linear-gradient(160deg, #fffef8 0%, #fff 55%);
}
.veda-notice-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.veda-notice-card__badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f7b631;
  color: #1a1a1a;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
}
.veda-notice-card__date {
  font-size: 0.85rem;
  color: #5a6f6a;
}
.veda-notice-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.veda-notice-card__body {
  color: #3d4d49;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.veda-notice-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #21ac94;
  text-decoration: none;
}
.veda-notice-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.veda-notice-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed rgba(33, 172, 148, 0.35);
}
.veda-notices-mini-footer {
  background: #0c3028;
  color: #e8f5f2;
  padding: 1.25rem 0;
  margin-top: auto;
}
.veda-notices-mini-footer a {
  color: #f7b631;
  text-decoration: none;
}
.veda-notices-mini-footer a:hover {
  text-decoration: underline;
}
.veda-notices-mini-footer__inner {
  text-align: center;
  font-size: 0.9rem;
}

/* Footer — social: Follow Us (Instagram, Facebook, YouTube) */
.veda-footer-social__link {
  color: #21ac94;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease;
}
.veda-footer-social__link:hover,
.veda-footer-social__link:focus-visible {
  color: #18967d;
}
.veda-notices-mini-footer .veda-footer-social__link {
  color: #f7b631;
  font-size: 1.25rem;
}
.veda-notices-mini-footer .veda-footer-social__link:hover,
.veda-notices-mini-footer .veda-footer-social__link:focus-visible {
  color: #ffd666;
}
.veda-notices-mini-footer__social {
  justify-content: center;
}

/* WhatsApp CTA — floating + optional header chip */
.veda-wa-fab {
  position: fixed;
  right: 30px;
  bottom: 110px;
  z-index: 9990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.veda-wa-fab:hover,
.veda-wa-fab:focus-visible {
  color: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.veda-wa-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #25d366;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.veda-wa-header-btn:hover,
.veda-wa-header-btn:focus-visible {
  background: #1fb855;
  color: #fff !important;
}
.veda-wa-header-btn .fa-brands {
  font-size: 1.15rem;
}
@media (max-width: 575.98px) {
  .veda-wa-header-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .veda-wa-header-btn {
    padding: 10px 12px;
  }
}

/* Home — Activities, Events, Curriculum grids */
.veda-home-block__card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(12, 12, 13, 0.08);
  border: 1px solid rgba(33, 172, 148, 0.12);
}
.veda-home-block__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.veda-home-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.veda-home-block__title {
  padding: 14px 16px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #0c0c0d;
  text-align: center;
}
.veda-home-block h2 .color-primary {
  color: #21ac94;
}

/* --- A Day at Veda: Orbital & Timeline Custom Styling --- */
.work-sec {
  position: relative;
  overflow: hidden;
}

/* Hide desktop elements on mobile, hide mobile elements on desktop */
@media (min-width: 992px) {
  .veda-circle-wrapper {
    display: block !important;
  }
  .veda-mobile-timeline {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .veda-circle-wrapper {
    display: none !important;
  }
  .veda-mobile-timeline {
    display: block !important;
  }
}

/* Desktop Orbital Dial styling */
.veda-circle-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0 60px;
  position: relative;
}

.veda-circle-container {
  position: relative;
  width: 560px;
  height: 560px;
  margin: 0 auto;
}

/* Spinning dotted ring */
.veda-orbital-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: veda-orbit-spin 60s linear infinite;
}

@keyframes veda-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Static ring behind nodes for visual guidance */
.veda-circle-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px dashed rgba(33, 172, 148, 0.18);
  pointer-events: none;
}

/* Center Dashboard */
.veda-circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, #0c3028 0%, #143d34 50%, #1a5446 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow:
    0 0 0 6px rgba(33, 172, 148, 0.12),
    0 0 0 12px rgba(33, 172, 148, 0.06),
    0 20px 50px rgba(12, 48, 40, 0.3);
  border: 3px solid #f7b631;
  z-index: 10;
  color: #fff;
  transition: all 0.4s var(--veda-ease);
}

.veda-circle-center-num {
  font-size: 2rem;
  font-weight: 800;
  color: #f7b631;
  margin-bottom: 2px;
  line-height: 1;
}

.veda-circle-center-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* Hide time element in center */
.veda-circle-center-time {
  display: none;
}

.veda-circle-center-desc {
  font-size: 0.72rem;
  color: #c4ded9;
  line-height: 1.45;
  margin: 0;
  max-width: 160px;
}

/* Symmetrical outer nodes */
.veda-circle-node {
  position: absolute;
  width: 80px;
  height: 80px;
  margin-left: -40px;
  margin-top: -40px;
  background: #ffffff;
  border: 3px solid #e2f5f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(12, 48, 40, 0.08);
  z-index: 20;
  transition: all 0.35s var(--veda-ease);
}

.veda-circle-node svg {
  width: 32px;
  height: 32px;
  transition: transform 0.35s var(--veda-ease);
}

/* Hover or Active styles */
.veda-circle-node:hover,
.veda-circle-node.active {
  background: #ffffff;
  border-color: #21ac94;
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(33, 172, 148, 0.22);
}

.veda-circle-node:hover svg,
.veda-circle-node.active svg {
  transform: scale(1.08);
}

/* Step number badge */
.veda-circle-node-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f7b631;
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Title label below each node */
.veda-circle-node-label {
  position: absolute;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0c3028;
  text-align: center;
  pointer-events: none;
  transition: color 0.3s var(--veda-ease);
}

.veda-circle-node:hover .veda-circle-node-label,
.veda-circle-node.active .veda-circle-node-label {
  color: #21ac94;
}

/* Label positions relative to node positions */
.veda-circle-node-1 .veda-circle-node-label {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.veda-circle-node-2 .veda-circle-node-label {
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
}

.veda-circle-node-3 .veda-circle-node-label {
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}

.veda-circle-node-4 .veda-circle-node-label {
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}

.veda-circle-node-5 .veda-circle-node-label {
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
}

/* Pentagon coordinates — 5 nodes around R=200px on a 560px container */
.veda-circle-node-1 { left: 50%; top: 8%; }
.veda-circle-node-2 { left: 90%; top: 38%; }
.veda-circle-node-3 { left: 75%; top: 85%; }
.veda-circle-node-4 { left: 25%; top: 85%; }
.veda-circle-node-5 { left: 10%; top: 38%; }

/* Responsive scaling for smaller desktop screens */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .veda-circle-container {
    width: 480px;
    height: 480px;
  }
  .veda-circle-center {
    width: 180px;
    height: 180px;
    padding: 20px;
  }
  .veda-circle-center-num {
    font-size: 1.6rem;
  }
  .veda-circle-center-title {
    font-size: 0.92rem;
  }
  .veda-circle-center-desc {
    font-size: 0.68rem;
    max-width: 140px;
  }
  .veda-circle-node {
    width: 70px;
    height: 70px;
    margin-left: -35px;
    margin-top: -35px;
  }
  .veda-circle-node svg {
    width: 28px;
    height: 28px;
  }
  .veda-circle-container::before {
    width: 340px;
    height: 340px;
  }
}


/* =========================================
   Mobile Vertical Timeline Styling
   ========================================= */
.veda-mobile-timeline {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 10px;
}

/* The vertical connecting line */
.veda-mobile-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 4px,
    #21ac94 4px,
    #21ac94 12px
  );
}

.veda-timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.veda-timeline-item:last-child {
  margin-bottom: 0;
}

/* Left side bullet badge */
.veda-timeline-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #21ac94;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1a1a1a;
  box-shadow: 0 6px 16px rgba(12, 48, 40, 0.1);
  z-index: 5;
  flex-shrink: 0;
}

.veda-timeline-badge svg {
  width: 22px;
  height: 22px;
}

.veda-timeline-card {
  flex-grow: 1;
  background: #ffffff;
  border: 1px solid rgba(33, 172, 148, 0.15);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(12, 48, 40, 0.05);
  position: relative;
  transition: transform 0.3s ease;
}

.veda-timeline-card:hover {
  transform: translateY(-2px);
}

/* Triangle arrow for cards */
.veda-timeline-card::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -8px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 1px solid rgba(33, 172, 148, 0.15);
  border-bottom: 1px solid rgba(33, 172, 148, 0.15);
  transform: rotate(45deg);
}

.veda-timeline-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f7b631;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.veda-timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c3028;
  margin-bottom: 6px;
}

/* Hide time elements in mobile timeline too */
.veda-timeline-time {
  display: none;
}

.veda-timeline-desc {
  font-size: 0.88rem;
  color: #45474f;
  line-height: 1.5;
  margin: 0;
}

/* —— "What we Provide" — infinite right-to-left marquee —— */
.veda-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.veda-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: veda-marquee-scroll 40s linear infinite;
}

.veda-marquee-wrapper:hover .veda-marquee-track {
  animation-play-state: paused;
}

.veda-marquee-card.service-card {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--veda-ease), box-shadow 0.35s var(--veda-ease);
}

.veda-marquee-card.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(12, 48, 40, 0.14);
}

.veda-marquee-card.service-card .card-img {
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

.veda-marquee-card.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  transition: transform 0.5s var(--veda-ease);
}

.veda-marquee-card.service-card:hover .card-img img {
  transform: scale(1.06);
}

.veda-marquee-card.service-card > div:last-of-type {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.veda-marquee-card.service-card > div:last-of-type > .text-center {
  flex: 1 1 auto;
}

@keyframes veda-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .veda-marquee-card.service-card {
    width: 260px;
  }
  .veda-marquee-track {
    gap: 16px;
    animation-duration: 30s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .veda-marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .veda-marquee-wrapper {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
}

