:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Hero Section */
.rishta-hero {
    position: relative;
    width: 100%;
    /* height: 85vh; */
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
}

.rishta-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.rishta-hero__text {
    max-width: 700px;
    margin: 0 auto;
}

.rishta-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.rishta-hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ffffffcc; /* Slightly transparent white */
}

.rishta-hero__buttons a {
    background: #ffffff;
    color: #000;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rishta-hero__buttons a:hover {
    background: #f0f0f0;
    color: #000;
    transform: translateY(-2px);
}

/* Optional overlay for better text visibility */
.rishta-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

/* Mobile Responsive for 320px - 767px */
@media (min-width: 320px) and (max-width: 767px) {
    .rishta-hero {
        height: 70vh;
        padding: 0 15px;
    }

    .rishta-hero__title {
        font-size: 1.8rem;
    }

    .rishta-hero__subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .rishta-hero__buttons a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .rishta-hero__text {
        /* max-width: 90%; */
        width:100%;
        margin: 0 auto;
    }
    .rishta-hero__content
    {
      padding: 0;
    }
}

/* Search Section */
.rishta-search {
    width: 100%;
    padding: 20px 0;
    background: #f9f9f9;
}

.rishta-search__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 40px; */
    flex-wrap: wrap;
}
.rishta-search__content>div{
  width:100%;
  display: flex; 
  align-items: center;
  justify-content:space-between;
  gap: 20px; flex-wrap: wrap;
}

.rishta-search__image {
    width: 50%;
    height: 350px;
    text-align: center;
}

.rishta-search__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    padding:0 20px;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
}

.rishta-search__form-container {
    flex: 1;
    padding: 20px;
}

.rishta-search__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.rishta-search__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.rishta-search__description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin-top: 15px;
}

/* Mobile Responsive for 320px - 767px */
@media (min-width: 320px) and (max-width: 767px) {
    .rishta-search {
        padding: 0 15px;
    }

    .rishta-search__content {
        /* flex-direction: column; */
        /* gap: 25px; */
    }
    .rishta-search__image
    {
      width:100%;
      height:auto;
    }

    .rishta-search__image img {
      padding:0;
    }

    .rishta-search__form-container {
        width:100%;
        padding: 10px;
        text-align: center;
    }

    .rishta-search__title {
        font-size: 1.3rem;
    }

    .rishta-search__subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .rishta-search__description {
        font-size: 0.7rem;
        line-height: 1.4;
    }
}

/* Trust Section */
.rishta-trust {
    width:100%;
    background: #f9f9f9;
    margin:20px 0;
    padding-bottom:20px;
}

.rishta-trust__title {
    font-size: 35px;
    font-weight: 700;
    color: #e5007d;
    text-align: center;
    margin: 20px 0;
}

.rishta-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns on desktop */
    gap: 24px;
    max-width: 1200px;   /* optional to center */
    margin: 0 auto;      /* center the grid */
    padding-left: 10px;
    padding-right: 10px;
}

.rishta-trust__card {
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 20px 10px;
}

.rishta-trust__card:hover {
    transform: translateY(-4px);
}

.rishta-trust__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.rishta-trust__card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.rishta-trust__card-description {
    color: #666;
    font-size: 16px;
}

/* Mobile Responsive 320px - 767px */
@media (min-width: 320px) and (max-width: 767px) {
    .rishta-trust {
        padding: 0 15px;
        margin:10px 0;
    }

    .rishta-trust__title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .rishta-trust__grid {
        grid-template-columns: 1fr; /* stack cards on mobile */
        gap: 20px;
        padding: 0 5px;
    }

    .rishta-trust__card {
        padding: 15px 10px;
    }

    .rishta-trust__icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .rishta-trust__card-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .rishta-trust__card-description {
        font-size: 14px;
    }
}


/* About Section */
.rishta-about {
    width:100%;
    background: #f9f9f9;
    margin:20px 0;
    padding-bottom:20px;
}

.rishta-about__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding:20px;
}

.rishta-about__text {
    flex: 1;
}

.rishta-about__subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 10px;
}

.rishta-about__title {
    font-size: 35px;
    font-weight: 700;
    color: #e5007d;
    margin-bottom: 24px;
}

.rishta-about__description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: left;
}

.rishta-about__cta a {
    background: #e5007d;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.rishta-about__cta a:hover {
    background: #c4006a;
}

/* Right Image */
.rishta-about__image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rishta-about__img {
    max-width: 80%;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Mobile Responsive 320px - 767px */
@media (min-width: 320px) and (max-width: 767px) {
    .rishta-about__content {
        flex-direction: column;
        gap: 25px;
    }

    .rishta-about__title {
        font-size: 24px;
        text-align: center;
    }

    .rishta-about__description {
        font-size: 14px;
        text-align: center;
    }

    .rishta-about__cta a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .rishta-about__image {
        justify-content: center;
    }

    .rishta-about__img {
        max-width: 90%;
    }
}



/* How It Works Section */
.rishta-how-it-works__header {
  text-align: center;
  padding-bottom: 20px;
  padding-top: 10px;
  margin-bottom: 0;
}

.rishta-how-it-works__title {
  font-size: 35px;
}

.rishta-how-it-works {
  width:100%;
  position: relative;
  background: #fff;
  overflow: visible;
}

.rishta-how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%; /* top half pink */
  background: #fde7f0;
  z-index: 0;
}

.rishta-how-it-works .container {
  position: relative;
  z-index: 1;
}

.rishta-how-it-works__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: nowrap; /* force single row */
  padding: 16px 0;
  padding-bottom: 50px;
  scrollbar-width: thin;
}

.rishta-how-it-works__step {
  flex: 0 0 180px; /* fixed width for horizontal layout */
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
  margin-top: -40px; /* overlap half pink / half white */
  z-index: 2;
}

.rishta-how-it-works__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.rishta-how-it-works__step-title {
  font-size: 18px;
}

.rishta-how-it-works__step-desc {
  font-size: 15px;
  color: gray;
}

.rishta-how-it-works__step:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  z-index: 3;
}

/* Zig-zag effect */
.rishta-how-it-works__step:nth-child(odd) {
  transform: translateY(-15px);
}

.rishta-how-it-works__step:nth-child(even) {
  transform: translateY(15px);
}

.rishta-how-it-works__step:nth-child(odd):hover {
  transform: translateY(-25px) scale(1.05);
}

.rishta-how-it-works__step:nth-child(even):hover {
  transform: translateY(5px) scale(1.05);
}

/* Mobile Responsive 320px - 767px */
@media (min-width: 320px) and (max-width: 767px) {
  .rishta-how-it-works__title {
    font-size: 24px;
  }

  .rishta-how-it-works__description {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
  }

  .rishta-how-it-works__grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 30px;
  }

  .rishta-how-it-works__step {
    flex: 0 0 150px;
    margin-top: 0; /* remove zig-zag on mobile */
  }
}

/* CTA Section */
.rishta-cta {
    width: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* vertically center text */
    justify-content: center; /* horizontally center text */
    position: relative;
    padding: 40px 20px;
    color: #fff;
}

.rishta-cta__content {
    text-align: center;
    max-width: 800px;
}

.rishta-cta__title {
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 16px;
    color: #fff;
}

.rishta-cta__description {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.rishta-cta__buttons a {
    background: #ffffff;
    color: #000;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rishta-cta__buttons a:hover {
    background: #f0f0f0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .rishta-cta {
        min-height: 250px;
        padding: 30px 15px;
    }

    .rishta-cta__title {
        font-size: 28px;
    }

    .rishta-cta__description {
        font-size: 14px;
    }

    .rishta-cta__buttons a {
        padding: 8px 16px;
        font-size: 14px;
    }
}


/* Testimonials Section */
.rishta-testimonials {
  /* padding: 50px 0; */
  background-color: #feaed0;
  margin-top:20px;
  padding:50px;
}

.rishta-testimonials__subtitle {
  text-align: center;
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.rishta-testimonials__title {
  font-size: 35px;
  font-weight: 700;
  color: #E91E63;
  text-align: center;
  margin-bottom: 40px;
}

.rishta-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  padding: 0 10px;
}

.rishta-testimonial-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.rishta-testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.rishta-testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #feaed0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 10px auto;
}

.rishta-testimonial-card__name {
  text-align: center;
  color: rgb(255, 50, 85);
  font-weight: 600;
  margin: 5px 0;
  font-size: 18px;
}

.rishta-testimonial-card__location {
  text-align: center;
  color: #666666;
  font-size: 14px;
  margin-bottom: 10px;
}

.rishta-testimonial-card__quote {
  text-align: center;
  font-size: 16px;
  color: #555555;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

/* Mobile Responsive 320px - 767px */
@media (max-width: 767px) {
  .rishta-testimonials
  {
    padding:10px 0;
  }
  .rishta-testimonials__grid {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 16px;
  }

  .rishta-testimonials__title {
    font-size: 28px;
  }

  .rishta-testimonial-card {
    padding: 15px;
  }

  .rishta-testimonial-card__quote {
    font-size: 14px;
  }

  .rishta-testimonial-card__name {
    font-size: 16px;
  }
}
