/** @format */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+Devanagari:wght@100..900&family=Outfit:wght@100..900&display=swap");

:root {
  /* ==========================================
     TYPOGRAPHY
  ========================================== */

  --font-heading: "DM Serif Display", serif;
  --font-body: "Inter", sans-serif;

  /* ==========================================
     BRAND COLORS
     Primary: Deep Emerald Green
     Secondary: Royal Gold
  ========================================== */

  --color-primary: #174a43; /* Deep Emerald Green */
  --color-primary-dark: #0f3832; /* Dark Forest Green */
  --color-primary-light: #28665d; /* Lighter Emerald */
  --color-primary-lighter: rgba(23, 74, 67, 0.12);

  --color-secondary: #feca40; /* Royal Golden Yellow */
  --color-secondary-dark: #d9a817; /* Antique Gold */
  --color-secondary-light: #ffd966; /* Soft Golden Yellow */

  --color-accent: #c89b20; /* Rich Antique Gold */
  --color-accent-light: #f4d77a; /* Soft Gold */

  /* ==========================================
     BACKGROUNDS
  ========================================== */

  --color-background: #f8f7f1; /* Warm Ivory */
  --color-background-alt: #eef3f0; /* Light Green-Gray */
  --color-surface: #ffffff;

  --color-background-dark: #174a43; /* Deep Emerald */
  --color-background-dark-alt: #123d37; /* Dark Forest Green */

  /* ==========================================
     TEXT
  ========================================== */

  --color-text: #173a35; /* Deep Green */
  --color-text-black: #111111; /* Neutral Black */
  --color-text-secondary: #111111; /* Muted Green-Gray */
  --color-text-light: #ffffff;

  --color-text-brand: #feca40; /* Gold on Dark Backgrounds */

  /* ==========================================
     BORDERS
  ========================================== */

  --color-border: #dde4df;
  --color-border-dark: #b8c8c2;
  --color-border-brand: #e3b62f;

  /* ==========================================
     STATUS
  ========================================== */

  --color-success: #237a57;
  --color-warning: #d9a817;
  --color-error: #c0392b;

  /* ==========================================
     EFFECTS
  ========================================== */

  --shadow-soft: rgba(23, 74, 67, 0.08);
  --shadow-medium: rgba(23, 74, 67, 0.15);
  --shadow-gold: rgba(254, 202, 64, 0.2);

  /* ==========================================
     GRADIENTS
  ========================================== */

  /* Deep Emerald → Gold */
  --gradient-hero: linear-gradient(
    135deg,
    #174a43 0%,
    #1d5a51 55%,
    #c89b20 100%
  );

  /* Clean Premium Card */
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8f7f1 100%);

  /* Green Primary Button */
  --gradient-button: linear-gradient(135deg, #174a43 0%, #0f3832 100%);

  /* Gold Accent Button */
  --gradient-gold: linear-gradient(135deg, #feca40 0%, #d9a817 100%);

  /* Dark Premium Section */
  --gradient-dark: linear-gradient(135deg, #0f3832 0%, #174a43 100%);
}
@keyframes drawLine {
  0% {
    stroke-dasharray: 0, 1000;
  }
  100% {
    stroke-dasharray: 1000, 0;
  }
}
@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}
.animate-draw {
  animation: drawLine 4s ease-out forwards;
}
.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}
@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.animate-text-gradient {
  animation: textGradient 4s ease infinite;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #180a0e;
  background-color: var(--color-background);
}

.amfi-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(
    --color-primary-dark
  ); /* Uses your primary brand color */
  color: white;
  text-align: center;
  font-size: 0.875rem; /* Slightly smaller text for professionalism */
  font-weight: 500;
  padding: 0.1rem 1rem;
  letter-spacing: 0.5px;
  z-index: 50; /* Ensures it sits above most elements */
}

html,
body {
  overflow-x: hidden;
}

.u-margin-bottom-big {
  margin-bottom: 8rem !important;
}

.textLayering {
  margin-left: -30%;
}

input[type="checkbox"],
input[type="radio"] {
  border: 2px solid black;
}

@media (max-width: 56.25em) {
  .u-margin-bottom-big {
    margin-bottom: 5rem !important;
  }
}

.u-margin-bottom-mid {
  margin-bottom: 4rem !important;
}

@media (max-width: 56.25em) {
  .u-margin-bottom-mid {
    margin-bottom: 3rem !important;
  }
}

.u-margin-bottom-small {
  margin-bottom: 1.5rem !important;
}

.u-margin-top-huge {
  margin-top: 10rem !important;
}

.u-margin-top-big {
  margin-top: 8rem !important;
}

.u-margin-top-mid {
  margin-top: 4rem !important;
}

.u-margin-top-small {
  margin-top: 1.5rem !important;
}

/* ---------- Background shape animations ---------- */
@keyframes gpFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 12px);
  }
}
@keyframes gpFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -10px);
  }
}
@keyframes gpFloatC {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, -14px);
  }
}
.gp-float-a {
  animation: gpFloatA 12s ease-in-out infinite;
}
.gp-float-b {
  animation: gpFloatB 15s ease-in-out infinite;
}
.gp-float-c {
  animation: gpFloatC 18s ease-in-out infinite;
}

@keyframes gpRotateA {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes gpRotateB {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes gpRotateC {
  0%,
  100% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(75deg);
  }
}
.gp-rotate-a {
  animation: gpRotateA 45s linear infinite;
  transform-box: fill-box;
}
.gp-rotate-b {
  animation: gpRotateB 60s linear infinite;
  transform-box: fill-box;
}
.gp-rotate-c {
  animation: gpRotateC 24s ease-in-out infinite;
  transform-box: fill-box;
}

@keyframes gpPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.9;
  }
}
@keyframes gpPulseSlow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}
.gp-pulse {
  animation: gpPulse 4s ease-in-out infinite;
}
.gp-pulse-slow {
  animation: gpPulseSlow 6s ease-in-out infinite;
}

/* ---------- Tool cards ---------- */
.gp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.gp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #fdca40 0%, #d9a817 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gp-card:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.11);
  border-color: rgba(253, 202, 64, 0.45);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(253, 202, 64, 0.15),
    0 0 40px rgba(253, 202, 64, 0.1);
}

.gp-card:hover::before {
  opacity: 1;
}

/* Icon */
.gp-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #0f3832;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, #fdca40 0%, #d9a817 100%);
  box-shadow: 0 6px 16px rgba(253, 202, 64, 0.28);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gp-card:hover .gp-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Title */
.gp-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.gp-card:hover .gp-card__title {
  color: #fdca40;
}

/* Arrow (appears on hover) */
.gp-card__arrow {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  font-size: 1rem;
  color: #fdca40;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gp-card:hover .gp-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- Responsive tuning ---------- */
@media (max-width: 640px) {
  .gp-card {
    padding: 1rem;
  }
  .gp-card__icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }
  .gp-card__title {
    font-size: 0.78rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [class*="gp-float"],
  [class*="gp-rotate"],
  [class*="gp-pulse"] {
    animation: none !important;
  }
}

/* ---------- Marquee wrapper — hides overflow, adds edge fades ---------- */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade out the left & right edges gracefully */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* ---------- Track — holds duplicated set, moves as one ---------- */
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
}

/* Left-scrolling row (Row 1) */
.marquee-track--left {
  animation: marqueeScrollLeft 55s linear infinite;
}

/* Right-scrolling row (Row 2) */
.marquee-track--right {
  animation: marqueeScrollRight 65s linear infinite;
}

/* Pause on hover — so users can click a card */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Pause while keyboard focus is inside — accessibility */
.marquee-wrapper:focus-within .marquee-track {
  animation-play-state: paused;
}

/* ---------- Card ---------- */
.service-card {
  flex: 0 0 auto;
  width: 320px;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 18px var(--shadow-soft);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--shadow-medium);
  border-color: var(--color-border-brand);
}

.service-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--color-surface-muted, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px var(--shadow-soft);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.service-card:hover .service-card__icon {
  transform: scale(1.05);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.service-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.service-card:hover .service-card__cta {
  gap: 0.6rem;
  color: var(--color-primary);
}

/* ---------- Keyframes ---------- */
@keyframes marqueeScrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ---------- Mobile tuning ---------- */
@media (max-width: 640px) {
  .service-card {
    width: 280px;
    padding: 1.5rem 1.25rem;
  }
  .service-card__title {
    font-size: 1rem;
  }
  .marquee-track {
    gap: 1rem;
  }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
    /* Fall back to normal horizontal scroll */
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

/* ---------- Float animations (slow, organic drift) ---------- */
@keyframes geoFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, 10px);
  }
}
@keyframes geoFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -8px);
  }
}
@keyframes geoFloatC {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-6px, -12px);
  }
}

.geo-float-a {
  animation: geoFloatA 11s ease-in-out infinite;
}
.geo-float-b {
  animation: geoFloatB 14s ease-in-out infinite;
}
.geo-float-c {
  animation: geoFloatC 17s ease-in-out infinite;
}

/* ---------- Rotation animations (for squares) ---------- */
@keyframes geoRotateA {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes geoRotateB {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes geoRotateC {
  0%,
  100% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(75deg);
  }
}

.geo-rotate-a {
  animation: geoRotateA 40s linear infinite;
  transform-box: fill-box;
}
.geo-rotate-b {
  animation: geoRotateB 55s linear infinite;
  transform-box: fill-box;
}
.geo-rotate-c {
  animation: geoRotateC 22s ease-in-out infinite;
  transform-box: fill-box;
}

/* ---------- Pulse (for tiny dots) ---------- */
@keyframes geoPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}
@keyframes geoPulseSlow {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.6;
  }
}

.geo-pulse-a {
  animation: geoPulse 4s ease-in-out infinite;
}
.geo-pulse-b {
  animation: geoPulseSlow 6s ease-in-out infinite;
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .geo-shape {
    animation: none !important;
  }
}

/* ---------- Card ---------- */
.mf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-secondary);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

/* Top gradient accent bar — reveals on hover */
.mf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #174a43 0%, #0f3832 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Soft radial gradient overlay on hover */
.mf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(23, 74, 67, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mf-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary-light);
  box-shadow:
    0 24px 48px -12px var(--shadow-medium),
    0 0 0 1px rgba(40, 102, 93, 0.08);
}

.mf-card:hover::before {
  transform: scaleX(1);
}

.mf-card:hover::after {
  opacity: 1;
}

/* ---------- Icon tile ---------- */
.mf-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background-color: var(--color-background-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mf-card:hover .mf-card__icon {
  background: linear-gradient(135deg, #174a43 0%, #0f3832 100%);
  border-color: transparent;
  color: #ffffff;
  transform: scale(1.06) rotate(-3deg);
}

/* ---------- Title ---------- */
.mf-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.mf-card:hover .mf-card__title {
  color: var(--color-primary-dark);
}

/* ---------- Description ---------- */
.mf-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ---------- CTA link at bottom ---------- */
.mf-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  transition:
    color 0.3s ease,
    gap 0.35s ease;
}

.mf-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: var(--color-primary-lighter);
  font-size: 0.65rem;
  transition:
    background-color 0.35s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    color 0.35s ease;
}

.mf-card:hover .mf-card__cta {
  gap: 0.65rem;
  color: var(--color-primary-dark);
}

.mf-card:hover .mf-card__arrow {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateX(3px);
}

/* ---------- Declining NAV variant (accent red-ish) ---------- */
.mf-card--decline .mf-card__icon {
  color: var(--color-accent);
}
.mf-card--decline::before {
  background: linear-gradient(90deg, #c89b20 0%, #c0392b 100%);
}

/* ---------- Background shape animations ---------- */
@keyframes mfFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 12px);
  }
}
@keyframes mfFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -10px);
  }
}
@keyframes mfFloatC {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, -12px);
  }
}
.mf-float-a {
  animation: mfFloatA 13s ease-in-out infinite;
}
.mf-float-b {
  animation: mfFloatB 16s ease-in-out infinite;
}
.mf-float-c {
  animation: mfFloatC 19s ease-in-out infinite;
}

@keyframes mfRotateA {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes mfRotateB {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes mfRotateC {
  0%,
  100% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(75deg);
  }
}
.mf-rotate-a {
  animation: mfRotateA 45s linear infinite;
  transform-box: fill-box;
}
.mf-rotate-b {
  animation: mfRotateB 60s linear infinite;
  transform-box: fill-box;
}
.mf-rotate-c {
  animation: mfRotateC 24s ease-in-out infinite;
  transform-box: fill-box;
}

@keyframes mfPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.75;
  }
}
@keyframes mfPulseSlow {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.55;
  }
}
.mf-pulse {
  animation: mfPulse 4.5s ease-in-out infinite;
}
.mf-pulse-slow {
  animation: mfPulseSlow 6.5s ease-in-out infinite;
}

/* ---------- Mobile tuning ---------- */
@media (max-width: 640px) {
  .mf-card {
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 1.25rem;
  }
  .mf-card__icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }
  .mf-card__title {
    font-size: 1.125rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [class*="mf-float"],
  [class*="mf-rotate"],
  [class*="mf-pulse"] {
    animation: none !important;
  }
}

/* ---------- Card ---------- */
.oa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

/* Top accent bar (reveals on hover) */
.oa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fdca40 0%, #c89b20 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.oa-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-brand);
  box-shadow:
    0 18px 40px var(--shadow-medium),
    0 0 0 1px rgba(253, 202, 64, 0.12);
}

.oa-card:hover::before {
  transform: scaleX(1);
}

/* ---------- Icon ---------- */
.oa-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--color-secondary); /* gold */
  margin-bottom: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.oa-card__icon svg {
  width: 100%;
  height: 100%;
}

.oa-card:hover .oa-card__icon {
  transform: scale(1.08) translateY(-2px);
}

/* ---------- Body (tinted block under the icon) ---------- */
.oa-card__body {
  padding: 1.25rem 1.15rem;
  border-radius: 0.875rem;
  background-color: var(--color-background);
  transition: background-color 0.4s ease;
  flex-grow: 1;
}

.oa-card:hover .oa-card__body {
  background-color: var(--color-background-alt);
}

/* ---------- Title ---------- */
.oa-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

/* ---------- Description ---------- */
.oa-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ---------- Entrance reveal ---------- */
@keyframes oaRevealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.oa-reveal {
  opacity: 0;
  animation: oaRevealUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.oa-reveal--1 {
  animation-delay: 0.05s;
}
.oa-reveal--2 {
  animation-delay: 0.18s;
}
.oa-reveal--3 {
  animation-delay: 0.31s;
}
.oa-reveal--4 {
  animation-delay: 0.44s;
}

/* ---------- Background shape animations ---------- */
@keyframes oaFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, 10px);
  }
}
@keyframes oaFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -8px);
  }
}
@keyframes oaFloatC {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-6px, -10px);
  }
}
.oa-float-a {
  animation: oaFloatA 13s ease-in-out infinite;
}
.oa-float-b {
  animation: oaFloatB 16s ease-in-out infinite;
}
.oa-float-c {
  animation: oaFloatC 19s ease-in-out infinite;
}

@keyframes oaRotateA {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes oaRotateB {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes oaRotateC {
  0%,
  100% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(75deg);
  }
}
.oa-rotate-a {
  animation: oaRotateA 45s linear infinite;
  transform-box: fill-box;
}
.oa-rotate-b {
  animation: oaRotateB 60s linear infinite;
  transform-box: fill-box;
}
.oa-rotate-c {
  animation: oaRotateC 24s ease-in-out infinite;
  transform-box: fill-box;
}

@keyframes oaPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes oaPulseSlow {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.55;
  }
}
.oa-pulse {
  animation: oaPulse 4.5s ease-in-out infinite;
}
.oa-pulse-slow {
  animation: oaPulseSlow 6.5s ease-in-out infinite;
}

/* ---------- Mobile tuning ---------- */
@media (max-width: 640px) {
  .oa-card {
    padding: 1.5rem 1.25rem;
  }
  .oa-card__icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
  }
  .oa-card__title {
    font-size: 1.125rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .oa-reveal,
  [class*="oa-float"],
  [class*="oa-rotate"],
  [class*="oa-pulse"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Contact card ---------- */
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

/* Top accent reveal */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fdca40 0%, #c89b20 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
  box-shadow: 0 16px 40px -12px var(--shadow-medium);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

/* ---------- Wide variant (address) ---------- */
.contact-card--wide {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
}

.contact-card--wide .contact-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* ---------- Icon ---------- */
.contact-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-primary);
  background-color: var(--color-primary-lighter);
  margin-bottom: 1.25rem;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.contact-card:hover .contact-card__icon {
  background: linear-gradient(135deg, #174a43 0%, #0f3832 100%);
  color: #fdca40;
  transform: scale(1.08) rotate(-4deg);
}

/* ---------- Label ---------- */
.contact-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.contact-card:hover .contact-card__label {
  color: var(--color-accent);
}

/* ---------- Value ---------- */
.contact-card__value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  transition: color 0.3s ease;
}

.contact-card__value--email {
  font-size: 0.95rem;
  word-break: break-word;
}

.contact-card:hover .contact-card__value {
  color: var(--color-primary);
}

/* ---------- Mobile tuning ---------- */
@media (max-width: 640px) {
  .contact-card {
    padding: 1.5rem 1.35rem;
    border-radius: 1.1rem;
  }
  .contact-card--wide {
    padding: 1.5rem 1.35rem;
  }
  .contact-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .contact-card__value {
    font-size: 1rem;
  }
  .contact-card__value--email {
    font-size: 0.9rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-card__icon {
    transition: none !important;
  }
}

.heading {
  font-size: 2rem;
  color: #180a0e;
  font-weight: 700;
  text-align: center;
}

.heading2 {
  font-size: 1.9rem;
  font-weight: 600;
  text-align: center;
}

.heading-tertiary {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}
#other {
  border-bottom: 0.1px solid black;
  background-color: #ffffff;
  color: #180a0e;
  position: relative;
  z-index: 1;
}

#modalBtn {
  z-index: 0;
  position: absolute;
  top: -25rem;
  /* Chose value from styles.css */
}

.force-bg-transparent {
  background-color: transparent !important;
}

nav:not(:last-child) {
  background-color: #eef0fa;
}

.navbar li a:hover,
.navbar li button:hover {
  color: #b560da;
}
#dropdownNavbarLink:hover svg path {
  stroke: #b560da; /* Change to your desired color */
}
#dropdownNavbarLink2:hover svg path {
  stroke: #b560da; /* Change to your desired color */
}
#dropdownNavbarLink3:hover svg path {
  stroke: #b560da; /* Change to your desired color */
}
.navbar li a:hover svg path {
  stroke: url(#gradientStroke);
}

#dropdownNavbar ul li a,
#dropdownNavbar2 ul li a,
#dropdownNavbar3 ul li a {
  color: black;
}

#modalBtn {
  position: absolute;
  margin-top: -5rem;
  z-index: 0;
}

.carousel-container {
  display: flex;
  max-width: 100%;
  padding: 0rem 2rem;
  height: 62vh;
  align-items: center;
  gap: 2rem;
}

.image-carousel,
.text-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-carousel img {
  max-width: 100%;
  width: 75%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.text-carousel {
  text-align: center;
  padding: 1rem;
}

.carousel-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.carousel-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.carousel-button {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  background-color: #0415a5;
  /* background-color: rgba(0, 0, 0, 0.7); Semi-transparent background */
  transition: all 0.1s ease;
}

.personalPic {
  width: 30%;
}

.carousel-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px #1e9cc2a9;
}

.carousel-button.secondary {
  color: #fff;
  background-color: #800000;
  transition: all 0.1s ease;
}

.carousel-button.secondary:hover {
  transform: translateY(-5px);
  background-color: #e0dbf6;
  box-shadow: 0 10px 30px #e0dbf6;
}

.whatsapp-icon {
  padding-left: 5px;
  width: 2.5rem;
}
/* Our Offering */

.section-features {
  padding: 2rem 2rem;
  background-image:
    linear-gradient(to right bottom, #e0dbf6), url(../img/nat-4.jpg?id=23092026);
  background-size: cover;
}

#aboutImg {
  width: 200px;
  height: 250px;
}

#Nirvesta Wealth {
  margin-top: 5%;
}

.formPDFWidth {
  width: 60rem;
}

@media (max-width: 56.25em) {
  .section-features {
    padding: 10rem 0;
  }
}
.feature-box {
  background-color: #ebf7fa;
  font-size: 1rem;
  padding: 2.5rem;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

@media (max-width: 56.25em) {
  .feature-box {
    padding: 2rem;
  }
}

.feature-box__icon {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  display: inline-block;
  color: #be6af3;
}

@media (max-width: 56.25em) {
  .feature-box__icon {
    margin-bottom: 0rem;
  }
}

.feature-box:hover {
  transform: translateY(-1.5rem) scale(1.03);
}

.position-img {
  height: 75%;
}

.position-text {
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Our Stratergy */

/* Container for all cards */
.cards {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two columns for cards */
  gap: 30px;
  /* Space between card columns */
}

.card-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensure card containers have equal height */
}

.card {
  width: 100%;
  height: 15rem;
  /* Card takes full height of container */
  position: sticky;
  top: 0;
}

.card__inner {
  background-color: #e7e7f8;
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  /* Default: Image on the right, text on the left */
  height: 70%;
  /* Ensure consistent card height */
  text-align: left;
  box-shadow: 0 25px 50px -12px hsla(265.3, 20%, 10%, 35%);
  transition: background-color 0.21s linear;
}

.card__inner:hover {
  background-color: #d3d3f8;
}

.card__image-container {
  width: 30%;
  /* Increase image width for better size */
}

.card__image {
  width: 25rem;
  height: 100%;
  border-radius: 14px 0 0 14px;
  object-fit: cover;
  aspect-ratio: 1;
  /* Square aspect ratio */
}

.card__content {
  width: 70%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

.card__title {
  margin: 0;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 600;
}

.card__description {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-right: 5%;
  margin-left: 5%;
}

/* Whatsapp Button */
.whatsapp-btn {
  color: #25d366;
  background-color: white;

  position: fixed;
  bottom: 1.5rem;
  right: 0.5rem;
  z-index: 3000;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;

  display: flex;
  align-items: center;
}

.whatsapp-btn .connect2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-right: 10px;
  background-color: white;
  opacity: 1;
}
.whatsapp-icon {
  width: 3.25rem;
  fill: #25d366;
  background-color: white;
}

.socialMediaNav {
  position: fixed;
  width: 50px;
  margin-top: 50px;
  transition: all 0.3s linear;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.4);
  bottom: 4rem;
  z-index: 1000000;
}
.socialMediaNav li {
  height: 60px;
  position: relative;
}
.socialMediaNav li a {
  color: white;
  display: block;
  height: 100%;
  width: 100%;
  line-height: 60px;
  padding-left: 15%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  transition: all 0.3s linear;
}
.socialMediaNav li:nth-child(2) a {
  background: #2867b2;
}
.socialMediaNav li:nth-child(1) a {
  background: #0866ff;
}

.socialMediaNav li a i {
  position: absolute;
  top: 17px;
  font-size: 27px;
}
.socialMediaNav ul li a span {
  display: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.socialMediaNav li:hover {
  z-index: 100000 !important;
}

.socialMediaNav a:hover {
  z-index: 100000 !important;
  width: 200px;
}
.socialMediaNav ul li:hover a span {
  padding-left: 30%;
  display: block;
}

.illustration {
  display: flex; /* Create a flex container */
  justify-content: space-between; /* Space out the columns evenly */
  margin: 2rem 0;
}

.illustration > div {
  flex-direction: row;
  flex-grow: 1;
  margin: 0 10px; /* Add some margin between columns */
}

.col-obj {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.col-obj p {
  display: flex; /* Use flexbox to align items inside <p> */
  align-items: center; /* Center align items vertically */
  justify-content: start;
  text-align: center;
  margin: 1rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
}

.pointerList li {
  margin: 1rem 0;
}

.widthDistributor {
  width: 40%;
}

.portfolioForecast {
  margin: 1% 22.5%;
}

@media (max-width: 1020px) {
  .textLayering {
    margin-left: 0 !important;
    margin-top: 5%;
  }

  #imageAbt {
    justify-content: center;
  }
}

/* Adjustments for screens below 768px */
@media (max-width: 882px) {
  .card {
    height: 25rem;
  }

  .card__inner {
    flex-direction: column;
    /* Stack image and text vertically */
    height: 100%;
    /* Ensure the card height remains consistent */
  }

  .card__image-container {
    width: 100%;
    /* Full width for the image */
    height: 50%;
    /* Set height to prevent it from getting too big */
  }

  .card__image {
    aspect-ratio: 3 / 2;
    /* Aspect ratio adjusted for smaller screens */
  }

  .card__content {
    padding: 10px;
    height: 50%;
    /* Ensures text takes up half of the card */
  }

  .card__title {
    font-size: 1.5rem;
    /* Smaller title */
  }

  .card__description {
    font-size: 0.875rem;
    /* Smaller text */
  }

  .personalPic {
    width: 50%;
  }
}

/* Stack card containers below 425px */
@media (max-width: 496px) {
  .cards {
    grid-template-columns: 1fr;
    /* Cards stack vertically */
    width: 80%;
  }

  .card {
    margin-bottom: 1%;
  }

  .card__inner {
    height: auto;
    /* Allow cards to take full available height */
  }

  .card__image-container {
    height: 80%;
  }

  .card__image {
    width: 100%;
    height: 10rem;
  }

  .card__content {
    width: 100%;
  }
}
.space {
  height: 10vh;
}

.space--small {
  height: 10vh;
}

.our-team .team-content {
  width: 100%;
  height: auto;
  background: #323232;
  padding: 27px 0;
  border-left: 5px solid #3cb5d3;
  border-right: 5px solid #3cb5d3;
  box-shadow: 0 15px 25px 0 rgba(3, 7, 15, 0.1);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: all 0.5s ease 0s;
}

.team-members-box {
  padding: 30px 0px;
}

.aboutStatement {
  margin-top: 2rem;
}

.galleryImg {
  height: 300px;
  width: 300px;
}

.flexGallery {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 2rem 0;
}

.flexGallery img {
  height: 200px;
  width: 300px;
}

.formWidth {
  width: 55rem;
}

.formDiv {
  margin-left: 15%;
}

.mobileWidth {
  width: 50%;
}

/* #outputTbl {
  margin: 1rem 3rem;
} */

.formPoint {
  margin: 2rem 0 0 8%;
}

/* .buttonPush {
  margin-top: 1.75rem;
} */

.dropdownSearch {
  width: 400%;
}

#tooltip {
  position: relative;
  cursor: pointer;
}

#tooltipText {
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  white-space: nowrap;
  padding: 10px 15px;
  border-radius: 7px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 100;
}
#tooltipText::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: #000;
}

#tooltip:hover #tooltipText {
  visibility: visible;
  opacity: 1;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    /* or scale: 0; */
  }
  100% {
    opacity: 1;
    /* or scale: 1; */
  }
}

.fade-in {
  animation: fadeIn 2s ease-in-out;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInRight 2s ease-in-out forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 2s ease-in-out forwards;
}

.marquee {
  display: flex;
  block-size: 150px;
  margin-block: var(--marquee-item-height);
  position: relative;
  overflow-x: hidden;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee--8 {
  --marquee-item-width: 100px;
  --marquee-item-height: 10px;
  --marquee-duration: 36s;
  --marquee-items: 8;
}

.marquee--3 {
  --marquee-item-width: 150px;
  --marquee-item-height: 150px;
  --marquee-duration: 24s;
  --marquee-items: 3;
}

.marquee--6 {
  --marquee-item-width: 166px;
  --marquee-item-height: 100px;
  --marquee-duration: 32s;
  --marquee-items: 6;
}

.marquee__item {
  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(
    var(--marquee-duration) / var(--marquee-items) *
      (var(--marquee-items) - var(--marquee-item-index)) * -1
  );
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);
  transform: translateX(-50%);
  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

.marquee__item:nth-child(4n) {
  border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
  border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
  border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
  border-top-left-radius: 1rem;
}

.marquee--8 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--8 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--8 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--8 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--8 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--8 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

.marquee--8 .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}

.marquee--8 .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}

.marquee--3 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--3 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--3 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--6 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--6 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--6 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--6 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

/* Infinite Marquee Animation */
@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll-marquee {
  /* Adjust the 30s value to make it scroll faster or slower */
  animation: scroll-marquee 40s linear infinite;
  width: max-content;
}

/* Pause the animation when a user hovers over it */
.animate-scroll-marquee:hover {
  animation-play-state: paused;
}
@keyframes go {
  to {
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

.position-image-right {
  justify-self: end;
}

.position-image-left {
  justify-self: start;
}

.row2 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 3rem;
}
x

/* GRID */

.row {
  display: flex;
  justify-content: center;
  max-width: 114rem;
  margin: 0 auto;
}

@media (max-width: 1095px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
}

.row:not(:last-child) {
  margin-bottom: 4rem;
}

@media (max-width: 1095px) {
  .row:not(:last-child) {
    margin-bottom: 3rem;
  }
}

@media (max-width: 1095px) {
  .row {
    max-width: 60rem;
    padding: 0 3rem;
  }
}

@media (max-width: 1095px) {
  .row [class^="col-"]:not(:last-child) {
    margin-right: 0;
    margin-bottom: 6rem;
  }
}

@media (max-width: 1095px) {
  .row [class^="col-"] {
    width: 100% !important;
  }
}

.row .col-1-of-4 {
  width: calc((100% - 2 * 6rem) / 4);
}

/* GRID Over */

#knowledgePartner {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 1.5rem;
}

#knowledgePartner div {
  margin: 0 4rem;
}

#knowledgePartner img {
  width: 250px;
  height: 100px;
}

.marquee--8 {
  --marquee-item-width: 200px;
}

.planningImg {
  height: 27rem;
  margin-left: -2rem;
  margin-top: -2rem;
}

/* For the Our Products in index.html */

.explore-product {
  display: flex; /* Use Flexbox for alignment */
  align-items: center; /* Vertically center the items */
  text-decoration: none; /* Remove underline from the link */
  color: white;
  background-color: rgb(26, 86, 219);
  width: fit-content; /* Inherit color from parent element */
  padding: 10px; /* Add padding if needed */
  transition: all 1s ease;
  border-radius: 2px;
}

.explore-product:hover {
  background-color: white;
  color: rgb(26, 86, 219);
  border: 2px solid rgb(26, 86, 219);
  border-radius: 12px;
}

.material-symbols-outlined {
  margin-left: 5px; /* Add space between text and icon */
}

.color {
  background-image: linear-gradient(to bottom right, #1a68c7, #97bbe6);
  color: white;
  padding: 0.7rem;
  margin-right: 0.5rem;
  border-radius: 100%;
  font-size: 2rem !important;
}

.illustration {
  display: flex; /* Create a flex container */
  justify-content: space-between; /* Space out the columns evenly */
  margin: 2rem 0;
}

.illustration > div {
  flex-direction: row;
  flex-grow: 1;
  margin: 0 10px; /* Add some margin between columns */
}

.col-obj {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.col-obj p {
  display: flex; /* Use flexbox to align items inside <p> */
  align-items: center; /* Center align items vertically */
  justify-content: start;
  text-align: center;
  margin: 1rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
}

/* Financial Tools  */

.row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 2rem;
}

/* Financial Planning as well as it copies the css */

.row--one {
  display: flex;
  justify-content: center;
}

.two {
  margin-left: 1.1rem;
}

.margin {
  margin-left: 2rem;
}

.padding {
  width: 30.5rem;
  height: 22.5rem;
  overflow-y: hidden;
}

@media (max-width: 832px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
  .row--one {
    flex-direction: column;
    align-items: center;
  }

  .two {
    margin-left: 0rem;
  }

  .margin {
    margin-left: 0rem;
  }
}

@media (max-width: 386px) {
  .padding {
    width: 20rem;
  }
}

@media screen and (max-width: 1023px) {
  .dropdownSearch {
    width: 120%;
  }
  .position-image {
    justify-self: center !important;
  }
}

@media screen and (max-width: 880px) {
  .formWidth {
    width: 50rem;
  }

  .buttonPush {
    margin-top: 1.25rem;
  }

  .formPDFWidth {
    width: 55rem;
  }
}

@media screen and (max-width: 800px) {
  .formWidth {
    width: 47rem;
  }

  .formPDFWidth {
    width: 51rem;
  }
}

@media screen and (max-width: 767px) {
  #other ul li button:hover {
    background-color: rgb(26, 86, 219);
  }
}

@media screen and (max-width: 768px) {
  .flexMobile {
    display: flex;
    flex-direction: column !important;
    text-align: center;
    align-items: center;
  }

  .formPDFWidth {
    width: 82%;
  }

  .formDiv {
    margin-left: 0%;
  }

  .formWidth {
    width: 80%;
  }

  .formPoint {
    margin: 10%;
  }

  .mobile-top {
    margin-top: 0.5rem;
  }

  .flexMobile div {
    margin: 1rem 0;
  }

  .aboutStatement {
    text-align: center;
    align-items: center;
    margin-top: 2rem;
  }

  .flexGallery {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flexGallery img {
    margin: 1rem 0;
  }

  .mobileService {
    margin-top: 2rem;
  }

  .mobileService h2 {
    text-align: center;
  }

  .mobileService p {
    text-align: center;
  }

  .mobileReverse {
    display: flex;
    flex-direction: column;
  }

  .position-image {
    justify-self: center !important;
  }

  .row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .row iframe {
    margin: 1rem 0;
  }

  #knowledgePartner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 1.5rem;
  }

  #knowledgePartner div {
    margin: 1rem auto;
  }

  #knowledgePartner img {
    width: 50%;
    height: 50%;
    margin: 0 auto;
  }

  .row div {
    margin: 1rem 0;
  }

  #mobileDown span {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
  }

  #mobileDown > div {
    justify-content: center;
    align-items: center;
  }

  .planningImg {
    display: none;
  }

  .mobileDiv {
    display: block !important;
  }

  .mobileWidth {
    width: 100%;
  }

  .col-obj {
    justify-content: space-between !important;
    margin: 10px 0;
  }

  .col-obj p {
    justify-content: center;
    margin: 1rem 0;
    font-size: 0.6rem;
    font-weight: 700;
    width: 60%;
  }

  .illustration > div {
    flex-direction: row;
    flex-grow: 1;
    margin: 0 0px; /* Add some margin between columns */
  }

  .mobileContainer {
    margin: 0 1%;
  }

  #productImg {
    display: none;
  }

  #testimonial-carousel {
    margin: 0 5%;
  }

  .carousel-container {
    height: 78vh;
  }

  #Nirvesta Wealth {
    margin-top: 15%;
  }

  .widthDistributor {
    width: unset !important;
    margin: 0 1%;
  }

  .portfolioForecast {
    margin: 1% 1%;
  }
}
@media (min-width: 769px) {
  .md\:w-4\/5 {
    width: 80% !important;
  }
}
@media screen and (max-width: 668px) {
  .image-carousel {
    display: none;
  }
}
@media (max-width: 368px) {
  .illustration {
    flex-direction: column;
    margin: 0 10px; /* Add some margin between columns */
  }
  .col-obj p {
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
  }
}

@media screen and (max-width: 336px) {
  .carousel-title {
    font-size: 1.75rem;
  }
}


@media (max-width: 768px) {
  /* Pause infinite floating, rotating, and pulsing SVGs */
  .geo-shape,
  .oa-float-a, .oa-float-b, .oa-float-c,
  .oa-rotate-a, .oa-rotate-b, .oa-rotate-c,
  .oa-pulse, .oa-pulse-slow,
  .gp-float-a, .gp-float-b, .gp-float-c,
  .gp-rotate-a, .gp-rotate-b, .gp-rotate-c,
  .gp-pulse, .gp-pulse-slow,
  .mf-float-a, .mf-float-b, .mf-float-c,
  .mf-rotate-a, .mf-rotate-b, .mf-rotate-c,
  .mf-pulse, .mf-pulse-slow {
    animation: none !important;
    transform: none !important;
  }

  /* Simplify or hide heavy blurred gradient backdrops */
  .blur-3xl,
  .blur-\[140px\],
  .blur-\[120px\],
  .blur-\[110px\] {
    display: none !important;
  }
}

/* @media (max-width: 768px) {
  .marquee-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .marquee-wrapper::-webkit-scrollbar {
    display: none;
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: none !important; 
  }
  .service-card {
    scroll-snap-align: start;
  }
  .marquee-track [aria-hidden="true"] {
    display: none !important;
  }
} */