/** @format */
/* ===== FONT IMPORTS (combined) ===== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap");

/* ============================================================
   ROOT – Four Yards Wealth BRAND SYSTEM
   ============================================================ */

:root {

  /* ==========================================================
     TYPOGRAPHY
     ========================================================== */

  /* Primary brand / heading font */
  --font-heading: "Montserrat", sans-serif;

  /* Body / readability font */
  --font-body: "Open Sans", sans-serif;

  /* Font weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Legacy fallbacks */
  --font-heading-legacy: "Montserrat", sans-serif;
  --font-body-legacy: "Open Sans", sans-serif;


  /* ==========================================================
     BRAND COLORS
     Based on Four Yards Wealth Logo
     Bright / Premium Red Identity
     ========================================================== */

  /* Primary - Bright Wealth Red */
  --color-primary: #D93630;
  --color-primary-dark: #B82C27;
  --color-primary-darker: #7f0b07;
  --color-primary-light: #E85B55;
  --color-primary-lighter: #F28A85;
  --color-primary-lightest: #FBE3E1;

  /* Main Logo Red */
  --color-red-light: #F26B65;
  --color-red: #E53935;
  --color-red-dark: #C62828;

  /* Secondary - Soft Charcoal Gray */
  --color-secondary: #666666;
  --color-secondary-dark: #3F3F3F;
  --color-secondary-light: #858585;
  --color-secondary-lighter: #B5B5B5;
  --color-secondary-lightest: #E8E8E8;

  /* Accent */
  --color-accent: #E53935;
  --color-accent-light: #F26B65;
  --color-accent-lighter: #FBE3E1;


  /* ==========================================================
     BACKGROUNDS
     ========================================================== */

  /* Main website background */
  --color-background: #FFFDFC;

  /* Alternate section background */
  --color-background-alt: #F8F8F7;

  /* Cards / elevated surfaces */
  --color-surface: #FFFFFF;

  /* Very subtle red-tinted background */
  --color-background-red: #FFF7F6;

  /* Soft neutral gray background */
  --color-background-gray: #F5F5F5;

  /* Very light warm background */
  --color-background-warm: #FFFAF8;


  /* ==========================================================
     TEXT
     ========================================================== */

  /* Primary text - softer than pure black */
  --color-text: #242323;

  /* White text */
  --color-text-light: #FFFFFF;

  /* Secondary / muted text */
  --color-text-muted: #6B6B6B;

  /* Pure black */
  --color-text-black: #000000;


  /* ==========================================================
     BORDERS
     ========================================================== */

  /* Primary brand border */
  --color-border: #E53935;

  /* Neutral border */
  --color-border-dark: #D9D9D9;

  /* Light border */
  --color-border-light: #EEEEEE;

  /* Very light red border */
  --color-border-red: #F2C4C1;


  /* ==========================================================
     STATUS
     ========================================================== */

  --color-success: #2E7D32;
  --color-warning: #E09A00;
  --color-error: #C62828;
  --color-info: #666666;


  /* ==========================================================
     EFFECTS / SHADOWS
     ========================================================== */

  /* Soft neutral shadows */
  --shadow-soft: rgba(36, 35, 35, 0.05);
  --shadow-medium: rgba(36, 35, 35, 0.10);
  --shadow-strong: rgba(36, 35, 35, 0.15);

  /* Brand red shadow */
  --shadow-red: rgba(229, 57, 53, 0.16);


  /* ==========================================================
     GRADIENTS
     ========================================================== */

  /* Hero - Bright Red / Clean Wealth Gradient */
  --gradient-hero: linear-gradient(
    135deg,
    #B82C27 0%,
    #D93630 50%,
    #E85B55 100%
  );

  /* Cards - Almost White */
  --gradient-card: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #FAFAF9 100%
  );

  /* Primary Buttons */
  --gradient-button: linear-gradient(
    135deg,
    #D93630 0%,
    #C62828 100%
  );

  /* Bright Red CTA */
  --gradient-red: linear-gradient(
    135deg,
    #E53935 0%,
    #D93630 100%
  );

  /* Growth / Financial Gradient */
  --gradient-growth: linear-gradient(
    135deg,
    #D93630 0%,
    #E85B55 100%
  );

  /* Light Brand Gradient */
  --gradient-lightest: linear-gradient(
    135deg,
    #FBE3E1 0%,
    #FFF8F7 100%
  );

  /* Soft Neutral Gradient */
  --gradient-dark: linear-gradient(
    135deg,
    #4A4A4A 0%,
    #777777 100%
  );


  /* ==========================================================
     MODEL11 MAPPED VARIABLES
     ========================================================== */

  --bg: var(--color-background);

  --bg-elevated: var(--color-background-alt);

  --fg: var(--color-text);

  --fg-muted: var(--color-text-muted);

  /* Main accent mapped to FourYards red */
  --accent: var(--color-red);

  --accent-glow: rgba(229, 57, 53, 0.20);

  /* Brand system */
  --teal: var(--color-primary);

  --teal-dark: var(--color-primary-dark);

  /* Cards */
  --card: var(--color-surface);

  /* Borders */
  --border: var(--color-border-light);

  /* Neutral / warm replacement */
  --color-sand: #FAF8F6;
}

/* ============================================================
   BASE & RESET
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}
body {
  font-family: "Rubik", sans-serif; /* legacy fallback */
  font-optical-sizing: auto;
  font-style: normal;
  color: #180a0e;
  background-color: var(--color-background);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}
input[type="checkbox"],
input[type="radio"] {
  border: 1px solid #000 !important;
}

/* 
============================================================
   UTILITY CLASSES
   ============================================================

*/

/* ===== ANIMATIONS ===== */

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Utility animation classes */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-slide-down {
  animation: slideDown 0.8s ease forwards;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Delays */
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ACCORDION SMOOTH TOGGLE ===== */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0 1.5rem;
}

.accordion-body.open {
  max-height: 600px; /* adjust if content grows */
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-icon.open {
  transform: rotate(180deg);
}

/* ===== PREMIUM CARD EFFECTS ===== */
.premium-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(43, 99, 46, 0.25);
  border-color: var(--color-secondary-light);
}

/* Gradient border for fund type cards */
.gradient-border {
  position: relative;
  background-clip: padding-box;
  border: 2px solid transparent;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  -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;
  pointer-events: none;
}

/* ===== BUTTON GLOW ===== */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(227, 171, 28, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-glow:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(227, 171, 28, 0.3);
}


/* ============================================================
   ANIMATIONS (new + legacy)
   ============================================================ */
@keyframes float-1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(15px, -20px) rotate(5deg);
  }
  50% {
    transform: translate(-10px, -35px) rotate(-3deg);
  }
  75% {
    transform: translate(20px, -15px) rotate(7deg);
  }
}
@keyframes float-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-20px, 15px) rotate(-8deg);
  }
  66% {
    transform: translate(15px, -25px) rotate(4deg);
  }
}
@keyframes float-3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10px, -30px) scale(1.1);
  }
}
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@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);
  }
}
@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes go {
  to {
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

.floating-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.animate-draw {
  animation: drawLine 4s ease-out forwards;
}
.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}
.animate-text-gradient {
  animation: textGradient 4s ease infinite;
}
.animate-scroll-marquee {
  animation: scroll-marquee 40s linear infinite;
  width: max-content;
}
.animate-scroll-marquee:hover {
  animation-play-state: paused;
}
.fade-in {
  animation: fadeIn 2s ease-in-out;
}
.slide-in-right {
  animation: slideInRight 2s ease-in-out forwards;
}
.slide-in-left {
  animation: slideInLeft 2s ease-in-out forwards;
}

/* ============================================================
   REVEAL ANIMATIONS (IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   BUTTONS (new + legacy)
   ============================================================ */
.btn-primary {
  background: var(--gradient-button);
  color: var(--color-text-light);
  font-weight: 700;
  padding: 14px 36px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}
.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  padding: 12px 34px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  background: transparent;
  font-size: 0.95rem;
}
.btn-outline:hover {
  background: var(--gradient-red);
  color: var(--color-text-light);
  transform: translateY(-2px);
}
.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;
  transition: all 0.1s ease;
}
.carousel-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px #1e9cc2a9;
}
.carousel-button.secondary {
  color: #fff;
  background-color: #800000;
}
.carousel-button.secondary:hover {
  transform: translateY(-5px);
  background-color: #e0dbf6;
  box-shadow: 0 10px 30px #e0dbf6;
}

/* ============================================================
   NAVIGATION (new)
   ============================================================ */
.nav-link {
  position: relative;
  transition: color 0.3s;
  color: var(--fg-muted);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--color-primary);
}

/* ============================================================
   SERVICE / FUND CARD HOVER EFFECTS
   ============================================================ */
.service-card-wrapper {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
}
.service-card-wrapper:hover .clip-service-card,
.service-card-wrapper:hover .clip-service-card-alt {
  background: var(--color-background-alt);
}
.service-card-wrapper:hover .service-icon-box {
  background: var(--color-primary);
  color: var(--color-text-light);
}

.fund-card-wrapper {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fund-card-wrapper:hover {
  transform: translateY(-6px);
}
.fund-card-wrapper:hover .clip-fund-card {
  border-color: var(--color-primary);
}

/* ===== SPLIT CLIP PATHS ===== */
.clip-left {
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.clip-right {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 768px) {
  .clip-left,
  .clip-right {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-secondary);
  color: #fff;
  padding: 16px 28px;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
  font-weight: 600;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show {
  transform: translateY(0);
}

/* ============================================================
   AMFI BANNER (fixed bottom)
   ============================================================ */
.amfi-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-primary-dark);
  color: white;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.1rem 1rem;
  letter-spacing: 0.5px;
  z-index: 50;
}

/* ============================================================
   COUNTER (used in stats)
   ============================================================ */
.counter {
  display: inline-block;
}

/* ============================================================
   RESPONSIVE TWEAKS (model11)
   ============================================================ */
@media (max-width: 768px) {
  .clip-stats-bar {
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  }
  .clip-cta {
    clip-path: polygon(0 2%, 100% 3%, 100% 98%, 0 97%);
  }
}

/* ============================================================
   LEGACY STYLES – KEPT UNCHANGED
   ============================================================ */
.u-margin-bottom-big {
  margin-bottom: 8rem !important;
}
.u-margin-bottom-mid {
  margin-bottom: 4rem !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;
}

.textLayering {
  margin-left: -30%;
}
@media (max-width: 56.25em) {
  .u-margin-bottom-big {
    margin-bottom: 5rem !important;
  }
  .u-margin-bottom-mid {
    margin-bottom: 3rem !important;
  }
}
@media (max-width: 1020px) {
  .textLayering {
    margin-left: 0 !important;
    margin-top: 5%;
  }
  #imageAbt {
    justify-content: center;
  }
}

.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;
}
.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,
#dropdownNavbarLink2:hover svg path,
#dropdownNavbarLink3:hover svg path {
  stroke: #b560da;
}
.navbar li a:hover svg path {
  stroke: url(#gradientStroke);
}
#dropdownNavbar ul li a,
#dropdownNavbar2 ul li a,
#dropdownNavbar3 ul li a {
  color: black;
}

.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;
}
.personalPic {
  width: 30%;
}
.whatsapp-icon {
  padding-left: 5px;
  width: 2.5rem;
}

.section-features {
  padding: 2rem 2rem;
  background-image:
    linear-gradient(to right bottom, #e0dbf6), url(../img/nat-4.jpg?id=13092026);
  background-size: cover;
}
#aboutImg {
  width: 200px;
  height: 250px;
}
#Four Yards Wealth Private Limited {
  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;
}
.feature-box__icon {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  display: inline-block;
  color: #be6af3;
}
.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;
}

.cards {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.card-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card {
  width: 100%;
  height: 15rem;
  position: sticky;
  top: 0;
}
.card__inner {
  background-color: #e7e7f8;
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  height: 70%;
  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%;
}
.card__image {
  width: 25rem;
  height: 100%;
  border-radius: 14px 0 0 14px;
  object-fit: cover;
  aspect-ratio: 1;
}
.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-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;
  justify-content: space-between;
  margin: 2rem 0;
}
.illustration > div {
  flex-direction: row;
  flex-grow: 1;
  margin: 0 10px;
}
.col-obj {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.col-obj p {
  display: flex;
  align-items: center;
  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: 882px) {
  .card {
    height: 25rem;
  }
  .card__inner {
    flex-direction: column;
    height: 100%;
  }
  .card__image-container {
    width: 100%;
    height: 50%;
  }
  .card__image {
    aspect-ratio: 3 / 2;
  }
  .card__content {
    padding: 10px;
    height: 50%;
  }
  .card__title {
    font-size: 1.5rem;
  }
  .card__description {
    font-size: 0.875rem;
  }
  .personalPic {
    width: 50%;
  }
}
@media (max-width: 496px) {
  .cards {
    grid-template-columns: 1fr;
    width: 80%;
  }
  .card {
    margin-bottom: 1%;
  }
  .card__inner {
    height: auto;
  }
  .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;
}

.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;
}

.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;
}

.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: 3rem;
  }
  .row {
    max-width: 60rem;
    padding: 0 3rem;
  }
  .row [class^="col-"]:not(:last-child) {
    margin-right: 0;
    margin-bottom: 6rem;
  }
  .row [class^="col-"] {
    width: 100% !important;
  }
}
.row:not(:last-child) {
  margin-bottom: 4rem;
}
.row .col-1-of-4 {
  width: calc((100% - 2 * 6rem) / 4);
}

#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;
}
.explore-product {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  background-color: rgb(26, 86, 219);
  width: fit-content;
  padding: 10px;
  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;
}
.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;
}

.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;
  }
  .mobileContainer {
    margin: 0 1%;
  }
  #productImg {
    display: none;
  }
  #testimonial-carousel {
    margin: 0 5%;
  }
  .carousel-container {
    height: 78vh;
  }
  #Four Yards Wealth Private Limited {
    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;
  }
  .col-obj p {
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
  }
}
@media screen and (max-width: 336px) {
  .carousel-title {
    font-size: 1.75rem;
  }
}

/* ============================================================
   STEP UP SIP & SWP SPOTLIGHT SECTION
   ============================================================ */

/* Card hover lift + glow */
.spotlight-card {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.spotlight-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: 0 25px 60px -15px rgba(29, 71, 33, 0.25);
}

/* Animated wave footer at the bottom of each card, with a floating image */
.wave-clip {
  overflow: hidden;
}
.wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}
.wave-footer .wave-back {
  animation: waveMove 11s linear infinite;
}
.wave-footer .wave-front {
  animation: waveMove 7s linear infinite reverse;
}
.wave-sip .wave-back path {
  fill: var(--color-primary-light);
  opacity: 0.95;
}
.wave-sip .wave-front path {
  fill: var(--color-primary);
  opacity: 0.55;
}
.wave-swp .wave-back path {
  fill: var(--color-secondary-light);
  opacity: 1;
}
.wave-swp .wave-front path {
  fill: var(--color-secondary);
  opacity: 0.55;
}
@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Shimmer sweep on CTA buttons */
.btn-shimmer {
  overflow: hidden;
}
.btn-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
}
.group:hover .btn-shimmer::before {
  animation: shimmerSweep 0.9s ease forwards;
}
@keyframes shimmerSweep {
  0% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}
