:root {
    --bs-test-primary: #222222;
    --bs-test-secondary: #777777;
    --bs-white: #fff;
    --bs-brand: #FF7700;
    --bs-btn: #F5BC3D;
    --bs-light-brand: #ffedd9;
    --bs-background-secondary: #F5F7FA;
    --bs-Border: #E6EAEF;
    --primary-glow: #ff7700a2;
    --secondary-color: #9c27b0;
    --text-color: #000000;
    --bg-color: #0a0a12;
    --nav-bg: rgba(255, 255, 255, 0.89);
    --dropdown-bg: rgba(20, 20, 35, 0.8);
    --hover-color: #3f51b5;
    --border-color: rgba(59, 59, 59, 0.342);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --neon-glow: 0 0 10px rgba(33, 150, 243, 0.5),
                 0 0 20px rgba(33, 150, 243, 0.3),
                 0 0 30px rgba(33, 150, 243, 0.1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-bg: linear-gradient(135deg, var(--bg-color), #151530);
    --glass-effect: saturate(180%) blur(10px);
    --border-radius: 12px;
    --text-description: rgba(255, 255, 255, 0.7);
}
   
body {
    overflow-x: hidden;
    letter-spacing: 0.5px;
    line-height: 150%;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


h1,
h2,
h3,
h4,h5 {
    font-family: "Playfair Display", serif;
}

h2,
h3 {
    font-size: 3rem;
}

p {
    font-size: 1rem;
}

a {
    text-decoration: none;
}

/* header-section start */

/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
} */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-effect);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px var(--shadow-color);
    transition: var(--transition-medium);
}

/* Logo */
.logo {
    text-shadow: var(--neon-glow);
    position: relative;
    display: inline-block;
    transition: var(--transition-medium);
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 15px var(--primary-glow),
                 0 0 30px var(--primary-glow);
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--bs-brand);
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
    box-shadow: var(--neon-glow);
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-brand);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--bs-brand);
    border-radius: 50%;
    box-shadow: var(--neon-glow);
}

/* Icons */
.icon {
    transition: var(--transition-medium);
    vertical-align: middle;
}

.chevron-icon {
    transition: transform var(--transition-medium);
}

.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--dropdown-bg);
    backdrop-filter: var(--glass-effect);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all var(--transition-medium);
    box-shadow: 0 10px 30px var(--shadow-color);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1rem;
    display: block;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    margin-bottom: 2px;
}

.dropdown a:hover {
    background: rgba(33, 150, 243, 0.15);
    color: var(--bs-brand);
    transform: translateX(5px);
}

/* Search Bar */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    width: 180px;
    transition: all var(--transition-medium);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    width: 240px;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 5px;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--bs-brand);
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    padding: 0.6rem;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--bs-brand);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    /* border: 1px solid var(--border-color); */
    /* border-radius: var(--border-radius); */
    padding: 0.6rem;
    transition: var(--transition-medium);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    position: absolute;
    transition: all var(--transition-medium);
    border-radius: 10px;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
    width: 70%;
}

.hamburger span:last-child {
    top: 18px;
}

/* Mobile Menu Active State */
.nav-active .hamburger span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-active .hamburger span:last-child {
    transform: rotate(-45deg);
    top: 9px;
}






.navbar-brand {
    width: fit-content;
}

img.mangalam-logo {
    width: 4rem;
}

.mangalam-btn,
.site-btn {
    border-radius: 15rem;
    background: var(--bs-brand);
    transition-duration: .3s;
    transition-property: transform;
}

.mangalam-btn:hover,
.site-btn:hover {
    transform: translateY(-5px);
}

.mangalam-btn1 {
    color: var(--bs-test-primary);
    border: 2px solid var(--bs-brand);
}

.btn {
    padding: .315rem 2rem;
}


.blink {
    color: var(--bs-brand);
    animation: blink 800ms step-end infinite;
}

@keyframes blink {
    50% {
        color: #c55d02;
    }
}

.colored {
    color: var(--bs-brand);
}

.header-set {
    border-bottom: 1px solid var(--bs-btn);
}

.banner-heading {
    font-size: 6rem;
}

.banner-heading1 {
    font-size: 3.9rem;
}

.banner-section {
    /* background: var(--bs-light-brand);
    border-bottom-left-radius: 26rem;
    border-bottom-right-radius: 26rem; */
    background-image: url(../img/home-hero-banner.webp);
    background-size: cover;
    background-position: center;
    height: 70vh;
}

/*  second section start */

.zoom-in-out-element {

    animation: zoom-in-zoom-out 3s ease infinite;
}

.zoom-in-out-element:after {
    position: absolute;
    content: "";
    background-image: url(../img/about-bird-icon.png);
    height: 120px;
    width: 20%;
    background-repeat: no-repeat;
    left: 4%;
}

@keyframes zoom-in-zoom-out {
    0% {
        scale: 100%;
    }

    50% {
        scale: 140%;
    }

    100% {
        scale: 100%;
    }
}

.zoom-in-out-element1 {

    animation: zoom-in-zoom-out 3s ease infinite;
}

.zoom-in-out-element1:after {
    position: absolute;
    content: "";
    background-image: url(../img/about-bird-icon.png);
    height: 120px;
    width: 20%;
    background-repeat: no-repeat;
    left: -3%;
    top: 188px;
    transform: scaleX(-1);
}

@keyframes zoom-in-zoom-out1 {
    0% {
        scale: 100%;
    }

    50% {
        scale: 140%;
    }

    100% {
        scale: 100%;
    }
}

.how-img {
    animation: zoom-in-zoom-out 4s ease-in-out infinite;
}

@keyframes how-img {
    0% {
        scale: 100%;
    }

    50% {
        scale: 140%;
    }

    100% {
        scale: 100%;
    }
}

/* 3rd section start */

.price-set{
    transition-duration: 2s;
    transition-property: transform;
    
}

.note-text {
    background: #fff3e9ef;
    border-left: 2px solid var(--bs-brand);
}
.price-set:hover >.note-text {
    background: var(--bs-light-brand);
    border-left: 3px solid var(--bs-brand);
    /* border-bottom: 2px solid var(--bs-brand); */
    
}
.img-border {
    border: 3px solid var(--bs-brand);
    border-radius: 12px;
}
.site-btnb {
    margin-bottom: -1.5%;
    margin-left: 2%;
}

.boder-rit {
    border-left: 3px solid #8a4101;
}


.unlock-match {
    position: relative;
}

.unlock-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.unlock-middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 80%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.unlock-match:hover .unlock-image {
    opacity: 0.8;
}

.unlock-match:hover .unlock-middle {
    opacity: 1;
}

.unlock-text {
    background-color: var(--bs-light-brand);
    color: black;
    font-size: 16px;
    padding: 16px 32px;
}

/* .unloack-vedic-section {
    background-image: url(../img/unlock-bg.jpg);
} */

/* cta section */
.cta-section {
    /* background-image: url(../img/cta-bg-2.png); */
    background-color: var(--bs-brand);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.unlock-image {
    max-width: 120px;
}
.how-workssection {
    background-image: url(../img/steps.jpg);
}

.unloack-vedic-section,
.how-workssection {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* why mangalam section */
.why-icon {
    background: var(--bs-light-brand);
    width: 3rem;
    border-radius: 100%;
    color: var(--bs-brand);
    height: 3rem;
}
.why-icon i {
    width: 2rem;
    font-size: 1.2rem;
    padding-top: 4px;
}

/* how works section */
.work-head {
    font-size: 1.04rem;
}

.how-works-mangalm:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

}

.how-works-mangalm {
    background: #ffe4c0;
    /* border-bottom-right-radius: 4rem; */
    /* border-bottom-left-radius: 2rem; */
    /* border-top-left-radius: 2rem; */
    height: 12rem;
    padding: 18px;
    border: 1px solid #f99e4f;
    border-radius: 12px;
}
.nav-link:focus, .nav-link:hover {
    color: #ff7700;
}
.num-count {
    position: absolute;
    padding: 7px 15px 8px;
    background: #ff7700;
    border: .03rem solid #ffe4c0;
    border-radius: 20rem;
    font-size: 1.2rem;
    font-weight: 700;
    height: 2.8rem;
    color: #ffffff;
    width: 2.8rem;
    text-align: center;
    top: -8%;
    right: -10%;
}

/* footer section start */
.footer-logo {
    max-width: 6%;
}

.footer-start {
    background-color: var(--bs-brand);
}

.social-icon {
    padding: 10px;
    background: #fff;
    border-radius: 100%;
    color: var(--bs-brand);
}

/* .footer-start:after {
    position: absolute;
    content: " ";
    background-image: url(../img/footer-bg.png);
    width: 100%;
    height: 17%;
    top: -17%;
    left: 0;
} */

/* login form */

label {
    display: block;
    margin-bottom: 5px;
}

.mobile-number {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: .4rem;
    border: 1px solid lightgray;
    background-color: var(--bs-white);
}

.otp-set {
    gap: 1rem;
}

button {
    cursor: pointer;
}

button:hover {
    background-color: var(--bs-brand);
}

.otp-box {
    width: 5rem;
    height: 5rem;
    border-radius: 100%;
    border: 1px solid darkgray;
    font-size: 2rem;
    color: var(--bs-brand);
}

.otp-box:focus,
.otp-box:focus-visible,
.mobile-number:focus-visible,
.otp-box::selection,
.otp-box:focus-visible,
.mobile-number:focus-visible {
    border: 1px solid var(--bs-brand);
    outline: var(--bs-brand) solid 1px;
    background-color: #fff;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.colored:hover {
    color: var(--bs-brand);
}

.modal-dialog {
    top: 30%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.modal {
    background: #000000ad;
}

/* vedic page hero section start */


.hidden {
    opacity: 0;
}

.console-container {
    font-size: 6.44rem;
    display: block;
    color: var(--bs-brand);
    line-height: 7rem;
}

.console-underscore {
    display: inline-block;
}

.animated-text {
    font-family: "Playfair Display", serif;
}

.why-vedic-mangalam {
    background: #fff6ee;
}

/* .vedicget-box {
    border-top-right-radius: 4rem;
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
} */

.vedicget-box,
.vedicget-box1 {
    padding: 20px 25px;
    border: 1px solid #ffbd84;
}

.vedicget-box1, .vedicget-box {
    /* border-top-left-radius: 4rem; */
    /* border-bottom-right-radius: 4rem; */
    /* border-bottom-left-radius: 5px; */
    /* border-top-right-radius: 5px; */
    border-radius: 12px;
}

.vedicget-box:hover, .vedicget-box1:hover {
    box-shadow: rgba(189, 189, 189, 0.445) 0px 7px 29px 0px;
    background-color: var(--bs-white);
}

.vedic-box-get {
    max-width: 240px;
    max-height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.vedic-text {
    font-size: .92rem;
}

.vedicget-box.vedic-margain {
    margin-top: -6rem;
}
.manglic-work{
    background-color: #fdf5ebb0;
}






















/* registeration form */
.register-popup {
    max-width: fit-content;
    top: 10%;
    min-height: calc(84% - 3.5rem);
}

.step-container {
    width: 100%;
    max-width: 88%;
    min-height: 600px;
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.sidebar {
    width: 30%;
    background: #ffd7b55e;
    padding: 40px 30px;
    position: relative;
}

.main-content {
    flex: 1;
    padding: 40px 40px 40px;
    display: flex;
    background: white;
    justify-content: space-between;
    flex-direction: column;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-item.active {
    background: #ff770065;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: var(--bs-brand);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-item.completed .step-number {
    background: var(--bs-brand);
    color: white;
}

.step-text {
    font-weight: 500;
    color: #666;
}

.step-item.active .step-text {
    color: #222222;
    font-weight: 600;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-step {
    display: none;
    width: 40vw;
}

.form-step.active {
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-title {
    font-size: 28px;
    color: #2d3748;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
    width: 58%;
}
.single-btn{
    width: 58%;
}


.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4a5568;
    font-size: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    /* max-width: 50%; */
    padding: 14px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
        color: gray;
}


.form-group select {
        appearance: none;
    background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
    background-repeat: no-repeat;
    background-position: right 0.98rem top 50%;
    background-size: 0.65rem auto;
}

.form-group input:focus, .form-group select:focus {
    border-color: #f5bc3d63;
    /* background: white; */
    outline: none;
}
.form-group select option {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    border-radius: 10px;
    border: 2px solid #ff7700;
    background: #ffedddb2;
    padding: 10px;
    transition: 0.4s;
}
.form-group select option{
  border-radius: 10px;
}
::picker(select) {
  border: none;
}
.spouse-prection  i{
    color: var(--bs-brand);
    font-size: 1.1vw;
    padding-right: 10px;
    margin-right: 7px;
}

.form-group select  option:hover,
.form-group select  option:focus {
  background:#ff7700;
}
.form-group input:hover,
.form-group select:hover {
    border-color: var(--bs-light-brand);
}

.buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 1em;
}

button {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.prev {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid darkgray;
}

button.next,
button.submit {
    background: var(--bs-brand);
    color: var(--bs-white);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

button.prev:hover {
    background: #edf2f7;
}

button.next:hover,
button.submit:hover {
    background: #e96d01;
}

.success-message {
    /* display: none; */
    text-align: center;
    padding: 60px 40px;
}

.success-message.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.success-message h2 {
    color: var(--bs-brand);
    font-size: 32px;
    margin-bottom: 20px;
}

.success-message p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

.form-header {
    margin-bottom: 10px;
}

.form-header h1 {
    font-size: 40px;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-header p {
    color: #718096;
    line-height: 1.6;
}






 
@media (max-width: 912px) {
   

   .form-step {
    width: 80vw;
}
.step_form_img {
    width: 50%;
}
.form-header h1 {
    font-size: 28px;
}
.image-wrapper, #image-slot {
    height: 145px;
}
.search-container {
    width: 58%;
}
.step-container {
    max-width: 100%;
}
    
} 

.error {
    border-color: var(--bs-light-brand) !important;
    background: var(--bs-light-brand) !important;
}

.error-message {
    color: var(--bs-brand);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error+.error-message {
    display: block;
}

.form-group input:focus::placeholder {
    color: #a0aec0;
}

.step-description {
    color: #718096;
    font-size: 14px;
    margin-top: 5px;
}
.formgroup-box {
    display: flex;
    gap: 20px;
}
input.search {
    background: transparent url("../img/search.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

input.check-box {
    width: fit-content;
}

.checkbox-id label {
    margin: 0;
}






.search-container {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.search-item {
    background-color: #ffc18a;
    padding: 5px 10px;
    border-radius: 31px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 2px;
}

.search-item .close-icon {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.search-item .close-icon:hover {
    color: #d32f2f;
}

.autocomplete-container {
    position: relative;
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    background: white;
    transition: border-color 0.2s;
}

.autocomplete-container:focus-within {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

#search-input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 120px;
    padding: 5px;
    font-size: 14px;
    background: transparent;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 2px;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    font-size: 14px;
    color: #333;
}

.autocomplete-item:hover {
    background-color: #f8f9fa;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item.highlighted {
    background-color: #e3f2fd;
    color: #1976d2;
}

.close-icon {
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold;
}



/* manglic page css */

.header-icon {
    max-width: 111px;
}
.banner-img {
    height: 60%;
    object-fit: cover;
}
.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
    height: 45px;
    width: 40px;
}
.carousel-control-next, .carousel-control-prev {
    display: none;
}
.cta-section1 {
    /* background-image: url(../img/cta-bg-2.png); */
    background-color: var(--bs-brand);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

    .vedic-manglic {
    margin-top: -1.5rem;
}
.manglic-work .vedic-box-get {
    max-width: 100%;
    max-height: 115px;
    object-fit: cover;
    border-radius: 8px;
}
html{
        overflow-x: hidden;
    }
/* .manglic-work .vedicget-box1 {
    border-top-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
}

.manglic-work .vedicget-box {
    border-top-right-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
} */

/* step form */

.step_form_img {
    width: 347px;
    margin-bottom: 2em;
}
.pie-chart {
	background:
		radial-gradient(
			circle closest-side,
			white 0,
			white 75%,
			transparent 85%,
			transparent 100%,
			white 0
		),
		conic-gradient(
			#F8A349 0,
			#F8A349 74%,
			#dedede 0,
			#dedede 100%
	);
  position: relative;
	width: 4em;
	min-height: 4em;
	margin: 0;
}
.pie-chart figcaption {
	position: absolute;
}
.person-img{
        max-width: 6em;
}
.prediction-list-right{
    text-align: end;
}
.prediction-summ i {
    color: #ff7700;
}
img.spouse-img {
    width: 5em;
    position: absolute;
    top: -2.4em;
    left: 44%;
    border: 2px solid #dbdada;
    border-radius: 100%;
}
/* add photos in step form  */
#image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-wrapper, #image-slot {
    flex: 0 0 calc(33% - 15px);
    aspect-ratio: 1/1;  /* Para mantenerlo cuadrado */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.image-options {
    position: absolute;
    bottom: 0px;
    right: 0;
    background-color: rgb(255 119 0);
    padding: 2px 5px 13px;
    cursor: pointer;
    border-radius: 100%;
    color: #fff;
    font-size: 40px;
    line-height: 12px;
}
.context-menu {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 10;
}

.gray-text {
    font-size: .9em;
    color: darkslategray;
    padding-left: 6px;
}
#image-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    border: 2px dashed #ccc;
    cursor: pointer;
}

#fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#fullscreen-image {
    max-width: 80%;
    max-height: 80%;
}

#prev-image, #next-image, #close-modal {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    z-index: 101;
}

#prev-image {
    left: 10px;
}

#next-image {
    right: 10px;
}

#close-modal {
    top: 10px;
    right: 10px;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.sortable-ghost {
    opacity: 0.5;
}

.sortable-chosen {
    transform: scale(1.05);
}
.plus {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ff7700;
    padding: 5px 3px;
    border-radius: 100%;
    color: #fff;
}















/* Responsive Design */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        align-items: flex-start;
        background: var(--nav-bg);
        backdrop-filter: var(--glass-effect);
        -webkit-backdrop-filter: var(--glass-effect);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right var(--transition-slow);
        box-shadow: -10px 0 30px var(--shadow-color);
        border-left: 1px solid var(--border-color);
        border-top-left-radius: 14px;
    }

    .nav-active .nav-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(33, 150, 243, 0.15);
    }

    .dropdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        padding-left: 1rem;
        margin-left: 1rem;
        display: none;
        box-shadow: none;
        border-left: 1px solid var(--border-color);
        transform: none;
        transition: all var(--transition-medium);
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .dropdown a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .search-container {
        width: 100%;
    }

    .search-input, 
    .search-input:focus {
        width: 100%;
    }

    .search-input {
        padding: 0.8rem 1rem;
    }

    .theme-toggle {
        align-self: flex-start;
    }

    .chevron-icon {
        position: absolute;
        right: 1rem;
    }

    .has-dropdown.active .chevron-icon {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        width: 90%;
    }
     .banner-section {
    height: 45vh !important;
     }
  .start-text {
    width: 100% !important;
    padding: 0 !important;
}
.form-phone {
    width: 100%;
}
.formgroup-box {
    gap: 6px;
    width: 100%;
}

.form-group input, .form-group select {
    /* max-width: 50%; */
    padding: 9px;
    border-radius: 7px;
    font-size: 12px;
}
.predictions-set, .prediction-summ {
    width: 100% !important;
    padding: 15px !important;
}
.main-content {
    padding: 20px 0px 10px;
}
.predication-box {
    padding: 5px !important;
}
.h6, h6 {
    font-size: 12px;
}
.prediction-list p {
    margin: 0;
}
.pie-chart {
    width: 2em;
    min-height: 2em;
}
.person-img {
    max-width: 4em;
    padding: 4px;
}
img.spouse-img {
    width: 3em;
    top: -1.8em;
    left: 42%;
}
.image-wrapper, #image-slot {
    height: 100px;
}
.search-item span {
    font-size: 12px;
}
.btn {
    padding: .315rem 1rem;
}
.otp-box {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}
.success-message {
    padding: 52px 6px;
}
.h5, h5 {
    font-size: 1.1rem;
}
.form-header h1 {
    font-size: 18px;
}
.gray-text {
    font-size: .7em;
}
.buttons {
    width: 100% !important;
}
.spouse-prection  i {
    font-size: 4.1vw;
    padding-right: 2px;
    margin-right: -3px;
}
}


































@media only screen and (max-width: 1024px) and (min-width: 769px) {
    .banner-heading {
        font-size: 4rem;
    }

    .banner-heading1 {
        font-size: 2.4rem;
    }

    h2,
    h3 {
        font-size: 1.7rem;
    }

    p {
        font-size: .8rem;
        margin: 5px;
    }

    .h4,
    h4 {
        font-size: calc(1.145rem + .001vw);
    }

    .btn {
        font-size: 0.8rem;
    }

    .why-icon {
        width: 2.5rem;
    }

    .why-work {
        justify-content: center !important;
        gap: 20px;
    }

    .how-works-mangalm {
        width: 27%;
    }
    
    .how-works-mangalm {
    padding: 10px;
}
}



@media only screen and (max-width: 768px) {
    
    div#carouselExampleCaptions {
    z-index: -1;
}
.num-count {
        top: -11%;
        right: -10%;
    }
.footer-logo {
    max-width: 8%;
}
    img.mangalam-logo {
    width: 3rem;
}
.single-btn {
    width: 100%;
}
    /* .header-set {
        flex-direction: row !important;
    } */
.banner-section {
    background-image: url(../img/home-hero-mobile.webp);
    background-size: cover;
    background-position: right;
    height: 40vh;
    padding-top: 0 !important;
    color: #fff;
}

.mangalam-btn, .site-btn {
    font-size: 12px;
}
    .navbar-collapse {
        flex-basis: 50%;
    }

    .banner-heading {
        font-size: 2rem;
    }

    .banner-heading1 {
        font-size: 1.3rem;
    }

    p {
        font-size: .75rem;
        margin: 5px;
        line-height: 1rem;
    }

    .row.right-section,
    .why_mangalam-section .row {
        flex-direction: column;
    }

    .right-match-lead,
    .right-match-img {
        padding-bottom: 30px;
    }

    /* .cta-section {
        background-image: url(../img/cta-bg-2.png);
        background-size: cover;
    } */

    h2,
    h3 {
        font-size: 1.8rem;
    }

    .unlock-match {
        margin-top: 35px;
    }

    .unlock-match:nth-child(1) {
        margin-top: 0px;
    }

    .why-work {
        justify-content: center !important;
        gap: 35px;
    }
    .right-match-section, .price-set, .unloack-vedic-section, .herosection-start, .why-img {
    padding-top: 0 !important;
}
.right-match-text {
    padding-right: 0 !important;
}
.right-match, .right-match-section, .why-img{
    padding-bottom: 0 !important;
}
.price-set {
    margin-top: 10px !important;
}
.how-works-mangalm {
    height: 7rem;
}
.num-count {
        top: -11%;
        right: -2%;
    }
    .vedicget-box, .mobile-margain, .vedic-manglic {
    margin-top: 0px !important;
}
.why_mangalam-section .row {
    flex-wrap: wrap;
    flex-direction: inherit;
}
.mangalam-work-set .row{
    flex-direction: column;
}

.why-text, .right-match-lead, .what-mangalam-get {
    padding-left: 1rem !important;
}
.vedic-get {
    margin-top: 1rem !important;
}
.get-vedic-box {
    flex-direction: row !important;
}
.how-works-mangalm {
    padding: 10px;
}
}





@media only screen and (max-width: 500px) {
   
    .banner-heading {
    font-size: 1.8rem;
    margin-bottom: 0;
}
.banner-p {
    padding-bottom: 7px;
}
.right-match, .right-match-section, .why-img, .unlock-rule {
    padding-top: 15px !important;
}
 .unlock-rule, .right-section, .herosection-start {
    padding-bottom: 15px !important;
}
.mangalam-work{
    padding: 0 15px 0 10px;
    margin-right: 1rem;
}
.cta-section {
    background-position: center;
    margin-bottom: 0 !important;
}
.unlock-match {
    margin-top: 19px !important;
}
.cta-section1, .how-workssection{
    margin-top: 0 !important;
}
.footer-logo {
    max-width: 20%;
}
div#how-managlam {
    margin-bottom: 13px;
}
.num-count {
    padding: 8px 12px 8px;
    height: 2.2rem;
    width: 2.2rem;
}
h2, h3 {
    font-size: 1.5rem;
}
    .vedicget-box.vedic-margain {
    margin-top: 1rem;
}
.vedicget-box, .mobile-margain {
    margin-top: 0px !important;
}
.note-text {
    width: 100% !important;
}
.get-vedic-box {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
.why-text, .right-match-lead, .what-mangalam-get {
    padding-left: 1rem !important;
}
.console-container {
    font-size: 2.53rem;
    line-height: 3rem;
}
.hero-animation, .why-vedic-mangalam .row {
    gap: 2rem;
}
.banner-img {
    height: 36%;
}
.vedic-get {
    margin-top: 1rem !important;
}
.vedic-box-get {
    max-width: 100%;
}




.sidebar {
    width: 100%;
    padding: 20px;
}
.main-content {
    width: 100%;
        padding: 20px 20px 10px;
}
.step-container {
    flex-direction: column !important;
            margin: 0px !important;
            max-width: 100%;
}
.progress-steps {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 0;
    width: 100%;
    justify-content: center;
}
.form-step.active, .sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-item {
    gap: 9px;
    padding: 10px;
}
.step-number {
    height: 30px;
    width: 30px;
    border-radius: 6px;
    padding: 7px;
}
.step-item .step-text {
    display: none;
}
.form-header {
    text-align: center;
}
.form-group, .prediction-table {
    width: 100% !important;
}
form#registrationForm .buttons {
    margin-top: 20px;
}
.otp-set {
    justify-content: center !important;
}

.search-container {
    align-items: start;
}

}

