/* ============================================================
   UDAYAKEERTHI MATRIMONIAL — responsive rules
   ============================================================ */

/* desktop navbar center layout */
@media (min-width: 992px) {
  .nav-drawer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }

  .nav-links {
    position: absolute;
    left: 46%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
  }
}

@media (max-width: 1199.98px) {
  .badge-marriages {
    left: -10px;
  }

  .badge-verified {
    right: -6px;
  }

  .about-float-img {
    width: 160px;
    right: -20px;
  }
}

@media (max-width: 991.98px) {

  /* mobile nav drawer - redesigned */
  .nav-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(340px, 86vw);
    height: 100vh;
    background: #FFFFFF;
    border-radius: 0 28px 28px 0;
    z-index: 1050;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 22px 32px;
    box-shadow: 20px 0 60px rgba(15, 23, 42, 0.16);
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .nav-drawer.open {
    left: 0;
  }

  .nav-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 20px;
  }

  .nav-drawer-head .brand-logo {
    height: 48px;
    width: auto;
  }

  .close-toggle {
    background: #F3EEFF;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 24px;
    color: #7C3AED;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .close-toggle:hover {
    background: #EDE5FF;
    color: #6D28D9;
    transform: rotate(90deg);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: static;
    transform: none;
    margin: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    text-align: left;
    padding: 12px 20px !important;
    border-radius: 999px !important;
    font-size: 15.5px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    position: relative;
    background: transparent !important;
  }

  .nav-item:hover {
    background: #F8FAFC !important;
    color: #7C3AED;
    padding-left: 24px !important;
  }

  .nav-item.active {
    background: #F3EEFF !important;
    color: #6D28D9 !important;
    font-weight: 600;
    border-radius: 999px !important;
  }

  .nav-item .active-indicator {
    display: none !important;
  }

  /* mobile dropdown accordion */
  .nav-dropdown-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .dropdown-toggle-fc {
    /* justify-content: space-between !important; */
    width: 100%;
  }

  .nav-dropdown-wrap.open .nav-arrow {
    transform: rotate(180deg);
    color: #7C3AED;
  }

  .fc-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    box-shadow: none;
    border: 1px solid #F1F5F9;
    background: #FAF8FF;
    border-radius: 18px;
    padding: 8px;
    margin: 4px 0 6px 0;
    min-width: unset;
    width: 100%;
  }

  .fc-dropdown-item {
    padding: 9px 12px;
    border-radius: 12px;
  }

  .fc-dropdown-item:hover {
    background: #FFFFFF;
    transform: translateX(3px);
  }

  .nav-cta-wrap {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .nav-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 999px;
    border: 1.5px solid #E2E8F0;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    background: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .nav-login-link:hover {
    border-color: #7C3AED;
    color: #6D28D9;
    background: #FAF8FF;
  }

  .btn-join-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 999px;
    background: #702EF3;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 22px rgba(112, 46, 243, 0.28);
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .btn-join-nav:hover {
    background: #5E22D4;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(112, 46, 243, 0.36);
    color: #FFFFFF;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* hero */

  .hero-arch-wrap {
    max-width: 400px;
    margin-top: 30px;
  }

  .hero-eyebrow-badge {
    margin-top: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .title-love-wrap {
    justify-content: center;
  }

  .bg-loopy-heart-wrap {
    display: none;
  }

  /* search form on tablets */
  .search-form-grid {
    flex-wrap: wrap;
    gap: 14px;
  }

  .search-col {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 160px;
  }

  .search-btn-col {
    flex: 1 1 100%;
  }

  .card-gods-plan {
    left: -20px;
    bottom: 40px;
  }

  .card-safe-trusted {
    right: -20px;
    top: 40%;
  }

  .card-christ-centered {
    right: -15px;
    bottom: 40px;
  }

  .hero-floating-pigeon {
    width: 110px;
    right: -20px;
    top: 15px;
  }

  .steps-track::before {
    display: none;
  }

  .app-panel {
    padding: 44px 36px 0;
  }

  .grid-app-layout {
    flex-direction: column;
  }

  .app-mockup {
    margin-top: 0;
  }

  .about-media {
    margin-bottom: 60px;
  }

  .experience-tag {
    left: 0;
  }

  .about-float-img {
    display: none;
  }

  .personalized-image-wrap {
    margin-bottom: 50px;
  }

  .personalized-badge {
    left: 0;
  }

  .stories-head {
    text-align: center;
    padding-right: 0;
  }

  .stories-head .slider-arrows {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(34px, 8.5vw, 44px);
  }

  .title-faith {
    font-size: clamp(34px, 8vw, 44px);
  }

  .hero-script-love {
    font-size: clamp(40px, 9vw, 54px);
  }

  .hero-arch-wrap {
    max-width: 320px;
    border-bottom: 2px solid #000000;
  }

  .hero-float-card {
    padding: 8px 18px 8px 10px;
    border-radius: 999px;
    gap: 8px;
    transform: scale(0.9);
  }

  .float-card-title {
    font-size: 12px;
  }

  .float-card-sub {
    font-size: 10px;
  }

  .float-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .card-gods-plan {
    left: -10px;
    bottom: 30px;
  }

  .card-safe-trusted {
    right: -10px;
    top: 38%;
  }

  .card-christ-centered {
    right: -10px;
    bottom: 30px;
  }

  .hero-floating-pigeon {
    width: 90px;
    right: -10px;
    top: 10px;
  }

  .search-col {
    flex: 1 1 calc(50% - 14px);
    min-width: 140px;
  }

  .search-card-fc {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .badge-marriages {
    left: -6px;
    bottom: 30px;
    padding: 10px 14px;
  }

  .badge-num {
    font-size: 24px;
  }

  .badge-verified {
    top: 40px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .deco-hero-3,
  .deco-profiles,
  .deco-community {
    display: none;
  }

  .search-band {
    margin-top: -60px;
  }

  .search-card {
    padding: 22px 20px 26px;
    border-radius: 22px;
  }

  .steps-section {
    padding: 60px 0 50px;
  }

  .fc-steps-header {
    margin-bottom: 38px;
  }

  .fc-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .fc-cta-text {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .fc-cta-text .text-start {
    text-align: center !important;
  }

  .btn-fc-cta-pill {
    width: 100%;
    justify-content: center;
  }

  .profiles-section {
    padding: 50px 0 60px;
  }

  .fc-profiles-head {
    text-align: center;
    justify-content: center !important;
  }

  .fc-profiles-head .lastProfileArrows {
    justify-content: center;
    width: 100%;
    margin-top: 14px;
  }

  .stories-section {
    padding: 30px 0 30px;
  }

  .fc-spotlight-media {
    min-height: 260px;
    max-height: 320px;
  }

  .fc-spotlight-content {
    padding: 28px 20px 24px;
  }

  .fc-spotlight-names {
    font-size: 22px;
  }

  .fc-spotlight-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-fc-story-primary {
    width: 100%;
    justify-content: center;
  }

  .fc-testimony-card {
    padding: 18px;
  }

  .fc-stories-bottom-bar {
    padding: 22px 18px;
  }

  .why-us-section {
    padding: 60px 0 55px;
  }

  .fc-why-visual-wrap {
    max-width: 320px;
    margin-bottom: 24px;
  }

  .stat-top-right {
    top: 5px;
    right: -10px;
    padding: 8px 12px;
  }

  .stat-bottom-left {
    bottom: 10px;
    left: -10px;
    padding: 8px 12px;
  }

  .fc-why-content {
    padding-left: 0;
    text-align: center;
  }

  .fc-feature-card {
    text-align: left;
  }

  .fc-why-denominations-bar {
    justify-content: center;
  }

  .fc-reach-section {
    padding: 60px 0 55px;
  }

  .fc-reach-banner-card {
    padding: 34px 18px;
  }

  .fc-reach-title {
    font-size: 24px;
  }

  .fc-reach-header {
    margin-bottom: 26px;
  }

  .fc-stat-card {
    padding: 20px 14px;
  }

  .app-section {
    padding: 55px 0 30px;
    overflow: hidden;
  }

  .fc-app-panel {
    padding: 38px 20px 0;
    border-radius: 26px;
  }

  .fc-app-copy {
    padding-bottom: 36px;
    text-align: center;
  }

  .fc-app-features-list {
    align-items: flex-start;
    display: inline-flex;
    text-align: left;
  }

  .fc-app-copy .d-flex {
    justify-content: center;
  }

  .fc-app-reviews {
    align-items: center;
  }

  .fc-stars {
    justify-content: center;
  }

  .fc-app-mockup-wrap {
    margin-top: 10px;
  }

  .float-top-left {
    top: 0;
    left: 0;
    padding: 8px 12px;
  }

  .float-bottom-right {
    bottom: 15px;
    right: 0;
    padding: 8px 12px;
  }

  .deco-app {
    width: 80px;
    right: -14px;
    top: -22px;
  }

  .exp-num {
    font-size: 32px;
  }

  .fc-directory-section {
    padding: 55px 0 50px;
  }

  .fc-dir-card {
    padding: 22px 18px;
  }

  .fc-dir-card-header {
    gap: 12px;
  }

  .fc-dir-bottom-banner {
    padding: 22px 18px;
    text-align: center;
  }

  .fc-dir-bottom-banner .d-flex {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .fc-dir-bottom-banner .btn-fc-pill-primary {
    width: 100%;
    justify-content: center;
  }

  .fc-footer-main {
    padding-top: 50px;
  }

  .fc-footer-newsletter-card {
    padding: 24px 18px;
    margin-bottom: 36px;
    text-align: center;
  }

  .fc-footer-newsletter-card .d-flex {
    flex-direction: column;
    text-align: center;
  }

  .fc-input-group {
    flex-direction: column;
    padding: 12px 14px;
    border-radius: 22px;
    align-items: stretch;
    gap: 10px;
  }

  .fc-input-icon {
    top: 15px;
  }

  .fc-newsletter-input {
    padding-left: 28px;
    width: 100%;
  }

  .fc-newsletter-btn {
    width: 100%;
    justify-content: center;
  }

  .fc-newsletter-guarantee {
    margin-left: 0;
    text-align: center;
  }

  .fc-footer-brand-wrap {
    padding-right: 0;
    text-align: center;
  }

  .fc-footer-socials {
    justify-content: center;
  }

  .fc-footer-bottom-bar .d-flex {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .progress-wrap {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 575.98px) {
  .brand-wordmark {
    font-size: 17px;
  }

  .brand-logo {
    width: 180px;
    height: auto;
  }

  .hero-actions .btn-fc-primary,
  .hero-actions .btn-fc-secondary {
    width: 100%;
    justify-content: center;
  }

  .search-col {
    flex: 1 1 100%;
  }

  .hero-actions .btn-pill {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-arch {
    border-radius: 180px 180px 20px 20px;
    border-width: 7px;
  }

  .why-arch,
  .about-arch {
    border-radius: 170px 170px 20px 20px;
  }

  .personalized-arch-main {
    border-radius: 170px 170px 20px 20px;
  }

  .app-tagline {
    font-size: 15.5px;
  }

  .store-badge {
    height: 46px;
  }
}