﻿
/* Base Styles */
:root {
    --matrimony-primary: #F51E92;
    --matrimony-secondary: #39D3D3;
    --matrimony-dark: #333333;
    --matrimony-light: #F8F9FA;
    --matrimony-light-pink: #FFF0F4;
    --matrimony-purple: #9333EA;
    --matrimony-blue: #3B82F6;
    --matrimony-yellow: #FBBF24;
    --matrimony-green: #10B981;
    --matrimony-red: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    #root {
        padding: 10px;
        font-size: 14px;
    }
}


@media (max-width: 480px) {
    #root {
        padding: 8px;
        font-size: 12px;
       
    }
}


@media (max-width: 768px) {
    body {
        /*font-family: 'Roboto', sans-serif;*/
        color: var(--matrimony-dark);
        line-height: 1.6;
        background-color: #fff;

    }
}
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Playfair Display';
        font-weight: 500;
        /*margin-bottom: 0.5rem;*/
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }


    .hidden {
        display: none !important;
    }

    .text {
        color: white;
    }

    .primary-text {
        color: var(--matrimony-primary);
    }

    .secondary-text {
        color: var(--matrimony-secondary);
    }

    .dark-text {
        color: var(--matrimony-dark);
    }

    .center {
        text-align: center;
    }

    /* Button Styles */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px 10px;
        border-radius: 8px 0px 8px 0px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        outline: none;
    }

    .btn-primary {
        background-color: white;
        color: var( --matrimony-secondary);
    }

        .btn-primary.active-btn {
            background-color: #42B7B1 !important; /* Green */
            color: white !important;
        }

        .btn-primary:hover {
            background-color: var( --matrimony-secondary);
            
            color: white;
        }

        .btn-primary:focus,
        .btn-primary:active {
            background-color: #42B7B1 !important;
            color: white !important;
            box-shadow: none !important; /* Removes default Bootstrap blue outline */
            border-color: #42B7B1 !important;
        }
.btn-login {
    background-color: var( --matrimony-secondary);
    color: white;
}


    .btn-login:hover {
        background-color: white;
        color: var( --matrimony-secondary);
    }

    .btn-teal {
        background-color: var(--matrimony-secondary);
        color: white;
        
    }

        .btn-teal:hover {
            background-color: #35a19c;
            color: white;
        }

    .btn-outline {
        background-color: var(--matrimony-secondary);
        border: 1px solid var(--matrimony-secondary);
        color: white;
    }

        .btn-outline:hover {
            background-color: white;
            color: #35a19c;
        }

    .btn-white {
        background-color: white;
        color: var(--matrimony-dark);
        border: 1px solid #e2e8f0;
    }

        .btn-white:hover {
            border-color: var(--matrimony-primary);
        }

    .btn-large {
        padding: 0.4rem 0.8rem;
        font-size: 1.125rem;
    }

    .btn-full {
        width: 100%;
    }

    .purple-btn {
        border-color: var(--matrimony-purple);
        color: var(--matrimony-purple);
    }

        .purple-btn:hover {
            background-color: rgba(147, 51, 234, 0.1);
        }
.Learn-more-btn {
    justify-content: center;
    align-items: center;
    background: white;
    color: var(--matrimony-secondary);
    cursor: pointer;
    font-weight: 500;
    border: 1px solid var(--matrimony-secondary);
  
     float:right;
    padding: 0.5rem 1.5rem;
    border-radius: 6px 0px 6px 0px;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
    min-width: 150px;
    height: 40px;
    text-align: center;
    text-decoration: none;
}
.button-container {
    text-align: right; /* Align the button to the right */
    margin-top: 20px; /* Adjust the distance from the top */
}
    .Learn-more-btn:hover {
        background: var(--matrimony-secondary);
        color: white;
    }
@media (max-width: 768px) {
    .Learn-more-btn {
        font-size: 0.9rem;
        margin-left: 230px;
        padding: 0.5rem 1rem;
        min-width: 120px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .Learn-more-btn {
        margin-left: 230px;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem; 
        min-width: 100px; 
        height: 30px; 
    }
}
    .icon {
        margin-right: 0.5rem;
    }

    .gender-btn {
        flex: 1;
        padding: 10px;
        border-radius: 8px 0px 8px 0px;
        height: 30px;
        background-color: white;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        outline: none;
    }

        .gender-btn.selected {
            background: var(--matrimony-secondary);
            color: white;
            border-color: #FF6B6B;
        }

        .gender-btn:hover {
            background: var(--matrimony-secondary);
        }

    /* Header Styles */


    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background-color: transparent;
        /*   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
        z-index: 1000;
        transition: all 0.1s ease-in-out;
        padding: 1.5rem 0;
    }


    .error-border {
        border: 2px solid red !important;
        background-color: #f8d7da !important;
    }

    /* Change on Scroll */
    .header.scrolled .nav-link.active {
        background: var(--matrimony-primary);
        color: white;
    }

    .required {
        color: red;
        font-weight: bold;
    }

    section {
        scroll-margin-top: 100px; /* Adjust based on header height */
    }

    html {
        scroll-behavior: smooth;
    }

    .header.scrolled {
        position: fixed;
        background: white; /* Solid background on scroll */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
@media (max-width: 768px) {
    .header.scrolled {
        position: fixed;
        background: white; 
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        padding: 10px 15px; 
        width: 100%; 
        z-index: 1000;
        
    }
}

    #introduction {
        scroll-margin-top: 380px; /* Adjust this to match your header height */
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo-icon {
        width: 75.49px;
        height: 75.49px; 
        background-color: white; 
        border-radius: 50%; 
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
        overflow: hidden;
        margin-right: 0.75rem;
    }



        .logo-icon img {
            width: 80%; 
            height: auto;
            object-fit: cover;
        }

        .logo-icon.small {
            width: 30px;
            height: 30px;
        }

    .logo-text h1, .logo-text h3 {
        font-size: 2.5rem;
        margin: 0;
    }

    .stylish-letter {
        font-size: 1.5em; 
        font-weight: bold; 
        color: white; 
        font-family: 'Orbitron', sans-serif;
    }

    .header.scrolled .logo-text h1 {
        color: var(--matrimony-primary); 
    }

    .desktop-nav {
        display: flex;
        align-items: center;
    }

.nav-link {
    margin-right: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    color: white;
}



    /* Change on Scroll */
    .header.scrolled .nav-link {
        color: var(--matrimony-primary);
    }



    .nav-link:hover {
        color: var(--matrimony-primary);
    }

    .nav-buttons {
        display: flex;
        gap: 0.75rem;
    }


    .mobile-menu-btn {
        display: none;
       /* background: none;
        border: none;*/
        cursor: pointer;
        color: var(--matrimony-dark);
    }

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 170px;
        width: 100%;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Hero Section */
.hero {
   
     background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-block-start: 120px;
        padding-block-end: var(--section-padding);
        height: 800px; 
        display: flex;
        align-items: center;
        justify-content: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    background-color: var(--matrimony-light);
    position: relative;
    overflow: hidden;
    height: 800px; /* Adjust the height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.carousel-inner {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000; /* Customize the color of the arrows */
}
    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 0;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18rem;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .hero-content {
        padding-right: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        margin-top: -43%;
    }
/* Default for large screens */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tablet and small desktops */
@media (max-width: 992px) {
    .hero {
        height: 600px;
    }

    .carousel-item img {
        height: 600px;
    }
}

/* Tablets and landscape phones */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .carousel-item img {
        height: 500px;
    }
}

/* Phones */
@media (max-width: 576px) {
    .hero {
        height: 100vh; /* Full screen on mobile */
    }

    .carousel-item img {
        height: 200vh;
    }
}


    /*
.glass-card {
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: #00000073;
    
    padding: 20px;
    margin-top: -65%;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}*/

.glass-card {
    background: #00000073;
    margin-top: -10%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-radius: 45px 0px 45px 0px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
}


    .glass-card-title {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 8px;
        color: white;
    }

    .glass-card-subtitle {
        color: white;
        text-align: center;
       
    }



    .container {
        position: relative;
        z-index: 2; /* Ensures text and content stay above background */
    }


    .card-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        text-align: center;
        color: white;
    }

    .search-form {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        font-family: Roboto;
    }

    .form-group {
        align-items: center; /* Align items vertically */

        gap: 10px; /* Add spacing */
        width: 100%;
    }






    .form-label {
        flex: 1;
        display: block;
        font-family: Roboto;
        margin-top: 6px;
        margin-bottom: 2px;
        font-weight: 500;
        font-size: 1rem;
        color: white;
    }

    .form-control, .form-select {
        flex: 2; /* Give more space to the input */
        padding: 0.5rem;
        border: 1px solid #e2e8f0;
        background-color: #e2e8f0;
        color: gray;
        font-size: 0.875rem;
        outline: none;
        transition: border-color 0.3s;
    }

        .form-control:focus, .form-select:focus {
            outline: none;
            border-color: var(--matrimony-primary);
        }





    .age-selects {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        flex: 2;
    }

    .button-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
@media (max-width: 768px) {
   

    /* Carousel Styling for smaller screens */
    #heroCarousel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%; /* Ensure the carousel takes up the full height */
    }

    .carousel-item img {
        width: 100%;
        height: 1000px; /* Ensure the images cover the carousel height */
        object-fit: cover; /* Keep images in a cover aspect ratio */
    }

   

   
    
}

/* Media query of Hero Section */
@media (max-width: 768px) {
    .hero {
        height: 900px;
       width:auto;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .hero-grid {
        gap: 1rem;
        
    }
    .hero-content {
        padding-right: 1.5rem; 
        text-align: center; 
        
    }

    .hero-title {
        font-size: 2.0rem;
        margin-top: -10%;
    }

    .glass-card {
        width: 100%;
        max-width: 450px;
        margin-top: 0;
        padding: 16px;
        margin: 0 auto;
    }

    .nav-link {
        margin-right: 1.5rem;
        font-weight: 500;
        transition: color 0.3s ease;
        color: var(--matrimony-primary);
    }
}

    /* Steps Section */
    .steps-section {
        padding: 30px 0;
        background-color: white;
    }

    .steps-container {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        gap: 30px;
        /* flex-direction: row-reverse;*/
    }

    .steps-wrapper {
        flex: 1;
        max-width: 600px;
    }

    .step-box {
        display: flex;
        align-items: flex-start;
        padding: 20px;
        margin-bottom: 15px;
        border: 1px solid var(--matrimony-primary);
        border-radius: 10px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .step-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

    .step-box1 {
        display: flex;
        align-items: flex-start;
        padding: 20px;
        flex-direction: row-reverse;
        margin-bottom: 15px;
        border: 1px solid var(--matrimony-primary);
        border-radius: 10px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .step-box1:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

    .step-icon {
        margin-left: 15px; /* Adjust margin for reversed layout */
        margin-right: 0;
    }

    .icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

        .icon svg {
            width: 28px;
            height: 28px;
        }


    .step-content {
        flex: 1;
    }

    .step-content1 {
        flex: 1;
        text-align: right;
    }

    .step-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
        font-weight: 600;
        color: #26AEAE;
    }


    .step-description {
        color: black;
        font-size: 0.95rem;
        font-weight: 400;
    }

    .divider {
        width: 5px;
        height: 400px;
        background-color: var(--matrimony-secondary);
    }

    .find-special {
        text-align: left;
        max-width: 300px;
        margin-left: -30px;
    }

    .find-title {
        font-size: 2.8rem;
        line-height: 1.1;
        font-weight: 600;
    }

    .special {
        color: var(--matrimony-primary);
    }
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .divider {
        width: 100%;
        height: 2px;
        margin: 20px 0;
        order: 2;
    }

    .find-special {
        text-align: center;
        max-width: 100%;
        order: 1;
        margin: 0 auto;
    }

    .steps-wrapper {
        order: 3;
        width: 100%;
    }
}

    /* Responsive styles */
  
    @media (max-width: 576px) {
     
        .step-icon {
            margin-right: 0;
            margin-bottom: 15px;
        }

        .find-title {
            font-size: 2.2rem;
        }
    }

    .container1 {
        Width: 89%;
        Height: 144.69px;
        margin-top: 2%;
        margin-left: 3%;
        text-align: center;
    }
    /* Introduction Section */
    .introduction {
        position: absolute;
        top: 10%;
        left: 0;
        width: 100%;
        height: 400.3954467773438px;
        background-color: rgba(233, 30, 99, 0.15);
        z-index: 0;
        padding: 30px 0;
        position: relative;
        overflow: hidden;
        text-align: right;
    }

        .introduction::before,
        .introduction::after {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            /*clip-path: path('M100 50c20-30 60-30 80 0 20-30 60-30 80 0 40-10 60 30 30 60s-110 40-190 0c-30-30-10-70 30-60z');*/
            background-color: #AACACA;
            border-radius: 50%;
            z-index: 0;
        }

        .introduction::before {
            left: -150px;
            top: -150px;
        }

        .introduction::after {
            right: -150px;
            bottom: -150px;
        }

    .section-title {
        font-size: 3.5vw;
        text-align: left;
        margin-left: 50%;
        font-weight: 600;
    }


    .introduction-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30%;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .introduction-content {
        padding-right: 2rem;
    }


    .profile-cards {
        position: relative;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1; /* Keeps the image above the background */
    }

    .phone-mockup {
        position: absolute;
        width: 90%;
        display: flex;
        justify-content: center;
    }

    .full-image {
        width: 90%;
        max-width: 500px;
        margin-left: -240px;
        border-radius: 1.5rem;
        z-index: 2; /* Ensures it stays visible */
    }

    @keyframes pulse {
        0% {
            transform: translate(-50%, -50%) scale(1);
        }

        50% {
            transform: translate(-50%, -50%) scale(1.1);
        }

        100% {
            transform: translate(-50%, -50%) scale(1);
        }
    }


    /* Divider Line */
    .divider-line {
        width: 5px;
        height: 79%;
        background-color: deeppink; /* Adjust the color as needed */
        position: absolute;
        left: 50%;
        top: -0.5%;
        transform: translateX(-50%);
    }


@media (max-width: 768px) {
    .introduction {
        height: 600px;
       
        padding: 20px;
        text-align: justify;
    }

    .section-title {
    
        font-size: 6vw;
        margin-left: 0;
        text-align: center;
    }

    .introduction-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: justify;
    }

    .introduction-content {
        padding-right: 0;
        padding: 10px;
    }

    .profile-cards {
        flex-direction: column;
        height: auto;
    }

    .full-image {
        margin-top:700px;
        width: 80%;
        max-width: 300px;
        margin-left: 0;
    }

    .divider-line {
        width: 80%;
        height: 3px;
        left: 10%;
        top: 100%;
        transform: translateX(0);
    }
}


    /* Why Choose Us Section */
    .section-description {
        font-size: 1.1rem;
        line-height: 1.8;
        color: black;
        font-weight: 400;
        font-family: Playfair Display;
        transition: all 0.3s ease-in-out;
        
    }

        .section-description.indent {
            text-indent: 30px; 
        }

    .cta-box {
        background-color: #CA3C5E;
        height: 70px;
        text-align: left;
        color: white;
        padding: 1rem 2rem;
        position: relative;
        display: flex;
        align-items: center;
        gap: 10%;
    }

    .cta-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        max-width: 60%;
        font-weight: 400;
        font-family: Playfair Display;
        display: inline-block;
        margin-left: 20%;
    }

    .section-title1 {
        font-size: 3.5vw;
        text-align: left;
        font-family: Playfair Display;
        font-weight: 600;
    }

    .why-choose-grid {
        display: grid;
        grid-template-columns: 1fr 5px 1.5fr;
        align-items: center;
        gap: 30px;
    }

    .why-choose-label {
        text-align: left;
    }

    .why-choose-us {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px;
        background-color: white;
        box-sizing: border-box; /* Ensures padding doesn't overflow */
        overflow: hidden;
    }


    .reasons-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: 60px;
    }

    .reason-item {
        text-align: center;
        max-width: 200px;
    }


    .image-container {
        width: 50px; /* Adjust based on your design */
        height: 50px;
        margin: 0 auto 10px;
    }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Ensures image fits within the container */
        }

    .reason-title {
        font-size: 1rem;
        margin-top: 0.5rem;
        color: var(--matrimony-primary);
    }

    .reason-description {
        font-size: 0.85rem;
        color: black;
        text-align: center;
    }

@media (max-width: 768px) {
    .section-title1 {
        margin-top:110%;
        font-size: 5vw;
        text-align: center;
    }

    .section-description {
        font-size: 1rem;
        text-align: center;
        padding: 8px;
        width:100%;
    }
        .section-description.indent {
            text-indent: 0px;
        }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .why-choose-us {
        padding: 20px;
        flex-direction: column;
    }

    .reasons-content {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .reason-item {
        max-width: 100%;
    }

    .cta-box {
        height: auto;
     
        align-items: center;
        text-align: center;
        padding: 1rem;
      
    }

    .cta-title {
        font-size: 1.2rem;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }
}

    /* Success Stories Section */
    .success-stories {
        padding: 30px;
        background-color: white;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stories-container {
        flex: 1.5;
        display: flex;
        flex-direction: column;
    }

    .success-stories .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: auto;
    }

    .stories-layout {
        display: flex;
        align-items: center;
        max-width: 1200px;
        width: 100%;
    }

    .section-header {
        flex: 1.2;
        text-align: left;
        padding-left: 1rem;
    }

    .stories-grid {
        display: grid;
       
        width: 80%;
       
        gap: 10px;
        position: relative;
    }

    .section-title2 {
        font-size: 3.5vw;
        font-family: Playfair Display;
        text-align: left;
        font-weight: 600;
        margin-left: 30%;
    }

.story-slider {
    display: flex;
    gap: 20px; /* Space between cards */
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px; /* To prevent cut-off during scrolling */
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.story-card {
    flex: 0 0 48%; /* Show two cards at once */
    box-sizing: border-box;
    background-color: white;
    border: 1px solid var(--matrimony-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    width: 230px;
    height: 340px;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
    scroll-snap-align: start; /* Snap to the beginning of each card */
}


        .story-card:hover {
            border: 2px solid var(--matrimony-primary); /* Thicker border on hover */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
        }
.story-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background-color: var(--matrimony-primary);
    border-radius: 50%;
    padding: 4px 8px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.arrow1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background-color: var(--matrimony-secondary);
    border-radius: 50%;
    z-index: 1000;
    padding: 4px 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .left-arrow {
        left: -18px;
    }

    .right-arrow {
        right: -18px;
    }

    .story-number {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 30px;
        height: 30px;
        background-color: var(--matrimony-primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        z-index: 10;
    }

    .story-content {
        display: flex;
        flex-direction: column;
    }

    .story-image {
        height: 120px;
        overflow: hidden;
    }

        .story-image img {
            margin-top: 10px;
            width: 90%;
            height: 100%;
        }



    .story-details {
        padding: 0.8rem;
    }

    .story-rating {
        display: flex;
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .star {
        color: var(--matrimony-yellow);
        font-size: 1.25rem;
    }

    .story-quote {
        color: black;
        margin-bottom: 1rem;
        font-size: 0.75rem;
        height: 120px;
        overflow: hidden;
        font-family: Roboto;
        font-weight: 400;
        justify-content: center;
        display: flex;
        text-align: center;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

        .story-quote.expanded {
            -webkit-line-clamp: unset; 
        }

    .story-couple {
        font-weight: 700;
        color: var(--matrimony-dark);
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }

    .read-more {
        background: none;
        border: none;
        color: var(--matrimony-secondary);
        cursor: pointer;
        font-weight: 500;
        padding: 0;
        font-size: 0.875rem;
        text-align: left;
    }

        .read-more:hover {
            text-decoration: underline;
        }



    .view-all {
        text-align: left;
        margin-top: 1rem;
        margin-left: 35%;
    }

    .view-all-btn {
        display: inline-flex;
        align-items: center;
        background: white;
        color: var(--matrimony-secondary);
        cursor: pointer;
        font-weight: 500;
        border: 1px solid var(--matrimony-secondary);
        padding: 0.2rem 2rem;
        border-radius: 6px 0px 6px 0px;
        transition: all 0.3s ease-in-out;
    }

        .view-all-btn:hover {
            background: var(--matrimony-secondary); /* Changes background on hover */
            color: white; /* Makes text white on hover */
        }
@media (max-width: 1024px) {
    .stories-layout {
        flex-direction: column;
        align-items: center;
    }

    .section-header {
        order: -1;
        width: 100%;
        text-align: center; /* <-- This makes the content center-aligned */
        padding-bottom: 1rem;
    }

    .section-title2 {
        font-size: 5vw;
        margin-left: 0; /* Remove any left margin */
        margin-right: 0;
        margin: auto; /* Center horizontally */
    }

    .stories-container {
        width: 100%;
    }

    .stories-grid {
        width: 90%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
    }

    .story-card {
        flex: 0 0 80%;
        width: 80%;
        scroll-snap-align: start;
    }
}

@media (max-width: 1024px) {
    .success-stories .container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center horizontally */
        justify-content: center; /* Center vertically if height allows */
        text-align: center; /* Align text center */
        gap: 1rem; /* Optional: adds spacing between elements */
    }

}
/* Small Screens (Phones & Small Tablets) */
@media (max-width: 768px) {
    .stories-container {
        padding: 5px;
        text-align: center;
    }

    .section-header {
        text-align: center;
    }

    .section-title2 {
        font-size: 4vw;
        
    }

    .stories-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px;
    }

    .story-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .story-card {
        flex: 0 0 90%;
        width: 90%;
        height: auto;
        scroll-snap-align: center;
    }

    .story-number {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }

    .story-quote {
        height: auto;
    }

    .arrow {
        font-size: 12px;
        padding: 4px 6px;
    }

    .left-arrow {
        left: -4px;
    }

    .right-arrow {
        right: -1px;
    }

    .view-all {
        text-align: center;
        margin-top: 0.5rem;
        margin-left: 0;
    }

    .view-all-btn {
       
        padding: 0.5rem 1rem;
        justify-content: center;
    }
}

/* Extra Small Screens (Phones under 480px) */
@media (max-width: 480px) {
    .stories-container {
        padding: 5px;
    }

    .stories-grid {
        gap: 5px;
        justify-content: center;
    }

    .story-card {
        flex: 0 0 95%;
        width: 95%;
        height: auto;
    }

    .story-number {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .arrow {
        font-size: 10px;
        padding: 3px 5px;
    }
}


    /* Membership Plans Section */
    .section-header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 2rem;
        position: relative;
        text-align: center;
    }
    /* Why Choose Us Section */
    .section-description1 {
        font-size: 1.1rem;
        line-height: 1.8;
        color: black;
        font-weight: 400;
        font-family: Roboto;
        margin-left: 9%;
        margin-right: 8%;
        transition: all 0.3s ease-in-out;
    }
  

.members-section {
    position: relative;
    text-align: center;
    width: 500px;
    overflow: hidden;
}
    .section-header-title {
        font-size: 3.5vw;
        flex-grow: 1;
        text-align: center; 
        margin: 0;
    }
@media (max-width: 768px) {
    .section-header-title {
        font-size:2.5rem; 
        text-align: center; 
    }
}
    .view-all1 {
        position: absolute;
        right: 0;
        margin-top: -6%;
    }
@media (max-width: 768px) {
    .view-all1 {
        position: static; 
        text-align: center; 
        margin-top: 10px; 
        align-items:center;
    }
}

    .membership-plans {
        background-color: rgba(233, 30, 99, 0.15);
        position: relative;
        overflow: hidden;
    }

        .membership-plans::before,
        .membership-plans::after {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background-color: #AACACA;
            border-radius: 50%;
            z-index: 0;
        }

        .membership-plans::before {
            left: -150px;
            top: -150px;
        }

        .membership-plans::after {
            right: -150px;
            bottom: -150px;
        }

    .plans-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin: 3rem 0;
        position: relative;
        z-index: 1;
    }

    .btn-subsciption {
        background-color: #39D3D3;
        color: white;
        height: 30px;
    }

        .btn-subsciption:hover {
            background-color: white;
            color: #5FCCBC;
            border: 1px solid #5FCCBC;
            transform: scale(1.05);
        }



    .plan-card {
        background-color: white;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
        padding: 2rem;
        text-align: center;
        position: relative;
        transition: transform 0.3s;
    }

        .plan-card:hover {
            transform: translateY(-10px);
        }

        .plan-card.popular {
            border: 2px solid #26AEAE;
            transform: scale(1.05);
            background-color: #26AEAE;
        }

            .plan-card.popular:hover {
                transform: scale(1.05) translateY(-10px);
            }

        .plan-card.popular1 {
            border: 2px solid #26AEAE;
            transform: scale(1.05);
            background-color: white;
        }

            .plan-card.popular1:hover {
                transform: scale(1.05) translateY(-10px);
            }


    .popular-tag {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background-color: var(--matrimony-secondary);
        color: white;
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        border-radius: 1rem;
        font-weight: 700;
    }

    .plan-icon {
        width: 74px;
        height: 47px;
        margin: 0 auto 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #26AEAE;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-top: -80px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }


        .plan-icon.teal {
            background-color: #26AEAE;
        }



    .plan-name {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .plan-price {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .plan-name1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: white;
    }

    .plan-price1 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: white;
    }

    .price-period1 {
        font-size: 0.875rem;
        color: white;
        font-weight: 400;
    }

    .price-period {
        font-size: 0.875rem;
        color: #666;
        font-weight: 400;
    }

    .plan-features {
        list-style: none;
        margin-bottom: 2rem;
        text-align: left;
        font-family: Roboto;
        font-weight: bold;
    }

    .plan-features1 {
        list-style: none;
        margin-bottom: 2rem;
        text-align: left;
        font-family: Roboto;
        font-weight: bold;
        color: white;
    }

    .circle-pointer {
        width: 5px;
        height: 5px;
        background-color: black;
        border-radius: 50%;
        display: inline-block;
        margin-left: 8px;
        margin-right: 0.75rem;
    }

    .circle-pointer1 {
        width: 5px;
        height: 5px;
        background-color: white;
        border-radius: 50%;
        display: inline-block;
        margin-left: 8px;
        margin-right: 0.75rem;
    }

    .plan-feature {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1rem;
        font-size: 0.875rem;
        font-family: Roboto;
        font-weight: bold;
    }

    .check-icon {
        width: 18px;
        height: 18px;
        margin-right: 0.75rem;
        flex-shrink: 0;
        color: var(--matrimony-green);
    }

    /* New Members Section */
    .new-members {
        padding: 30px;
        background-color: white;
    }

    .section-header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .members-grid-wrapper {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    }

.members-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    min-width: max-content;
    position: relative;
    scroll-behavior: smooth;
    transition: transform 0.3s ease-in-out;
}
.members-section::-webkit-scrollbar {
    display: none; 
}
/* Container holding the grid and arrows */
.members-section {
    overflow: hidden; 
    position: relative; 
    text-align: center;
    width: 480px; 
    margin: 0 auto; 
}

/* The wrapper around the profile cards */
.slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

/* The grid of profile cards */
.members-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
}

    .members-grid .member-card {
        flex: 0 0 48%;
        box-sizing: border-box;
        background-color: white;
        border: 1px solid var(--matrimony-primary);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        border-radius: 10px;
        padding: 10px;
        scroll-snap-align: start;
    }    .grid-title {
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--matrimony-primary);
        margin-bottom: 1rem;
    }

.member-card.bride {
    flex: 0 0 230px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    width: 230px;
    height: 350px;
    display: grid;
    justify-content: space-between;
    text-align: center;
    border: 2px solid var(--matrimony-primary);
    transition: transform 0.5s ease-in-out;
    overflow: visible;
}

        .member-card.bride:hover {
            border: 2px solid var(--matrimony-primary); /* Thicker border on hover */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
        }

.member-card.groom {
    flex: 0 0 230px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    width: 230px;
    height: 350px;
    display: grid;
   
    justify-content: space-between;
    text-align: center;
    border: 2px solid var(--matrimony-secondary);
    transition: transform 0.5s ease-in-out;
    overflow: visible;
}

        .member-card.groom:hover {
            border: 2px solid var(--matrimony-secondary);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

    .member-image {
        width: 130px !important;
        height: 140px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 10px !important;
    }

        .member-image img {
            width: 100%;
            border: 3px solid darkgray;
            height: 100%;
            object-fit: cover;
            border-radius: 50%; /* Ensures the image stays circular */
            transition: transform 0.5s;
        }


    .divider2 {
        width: 5px;
        height: 500px;
        background-color: var(--matrimony-secondary);
    }

    .member-details {
        padding: 1.5rem;
    }

    .member-name {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        color: var(--matrimony-primary);
    }

    .member-name1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        color: var(--matrimony-secondary);
    }

    .member-info {
        color: black;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .view-profile.bride {
        position: absolute;
        bottom: -0.6rem;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        color: var(--matrimony-primary);
        font-weight: 500;
        border: 1px solid var(--matrimony-primary);
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .view-profile.bride:hover {
            background-color: var(--matrimony-primary);
            color: white;
        }

    .view-profile.groom {
        position: absolute;
        bottom: -0.6rem;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        color: var(--matrimony-secondary);
        font-weight: 500;
        border: 1px solid var(--matrimony-secondary);
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .view-profile.groom:hover {
            background-color: var(--matrimony-secondary);
            color: white;
        }
/* Mobile screen adjustments */
@media (max-width: 768px) {
    .members-grid {
        display: block; /* Make sure all cards are stacked vertically */
    }

    .member-card {
        width: 100%; /* Full-width cards on mobile */
        margin-bottom: 20px; /* Space between cards */
    }

    /* Hide arrows on mobile */
    .nav-arrow {
        display: none;
    }
}

/* Desktop and larger screens */
@media (min-width: 769px) {
    .members-grid-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .members-grid {
        display: flex;
    }

    .member-card {
        width: 230px; /* Specific card width for larger screens */
    }

    /* Show arrows on desktop */
    .nav-arrow {
        display: block;
    }
}


/* Position the arrows inside the container */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--matrimony-primary);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000; /* Ensure it's above the grid */
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s ease-in-out;
}

.left-arrow1 {
    left: -10px; /* Position the left arrow */
}

.right-arrow1 {
    right: -10px; /* Position the right arrow */
}

@media (max-width: 768px) {
    .new-members {
        padding: 20px;
    }

    .section-header-flex {
        flex-direction: column;
        text-align: center;
    }

    .members-grid-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .members-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .member-card.bride,
    .member-card.groom {
        width: 90%;
        height: 250px !important;
        margin-left: 3px;
    }

    .member-image {
        width: 100px !important;
        height: 100px !important;
    }

    .view-profile.bride,
    .view-profile.groom {
        position: relative;
        bottom: 0;
        transform: none;
        margin-top: 10px;
    }

    .divider2 {
        width: 100%;
        height: 1px;
        background-color: var(--matrimony-secondary);
    }
}

/* 📌 Mobile Adjustments (Under 480px) */
@media (max-width: 480px) {
    .members-section {
        width: 100%;
        overflow-x: auto;
    }

    .members-grid {
        flex-direction: column;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.5rem;
    }

    .member-card {
        flex: 0 0 90%;
        width: 90%;
        height: auto;
        scroll-snap-align: center;
    }

    .nav-arrow {
        display: none;
    }
}
@media (max-width: 768px) {
    .members-section {
        width: 100%;
    }

    .members-grid {
        width: 100%;

    }

    .left-arrow1, .right-arrow1 {
        left: 10px;
        right: 10px;
    }
}
    /* Contact Us Section */
    .contact-us {
        padding: 30px;
        background-color: #E3F8F7;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .contact-grid {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 0;
        font-family: Playfair Display;
        font-weight: bold;
        color: var(--matrimony-primary);
    }

    .contact-methods {
        display: flex;
        gap: 15rem;
    }

    .contact-text {
        font-size: 4vh;
        font-weight: bold;
    }

    .contact-method {
        margin-left: 100px;
        align-items: center;
    }

    .contact-icon {
        margin-left: 100px;
        width: 40px;
        height: 40px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--matrimony-secondary);
    }

    .divider1 {
        width: 3px;
        height: 70px;
        background-color: var(--matrimony-secondary);
    }

@media (max-width: 768px) {
    .contact-us {
        padding: 20px;
        flex-direction: column; /* Stack elements vertically */
        height: auto; /* Allow flexible height */
    }

    .contact-grid {
        flex-direction: column; /* Stack items */
        gap: 1rem;
        text-align: center;
    }

    .contact-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .contact-methods {
        flex-direction: column; /* Stack contact methods */
        gap: 1rem;
        align-items: center;
    }

    .contact-method {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-left: 0;
        width: 35px;
        height: 35px;
    }

    .divider1 {
        width: 100%;
        height: 1px;
        margin: 10px 0; /* Adjust spacing */
    }

    .contact-text {
        font-size: 2.5vh;
        text-align: center;
        color: #35a19c
    }
}


    /* Footer Styles */
    .footer {
        padding: 20px;
        background-color: rgba(233, 30, 99, 0.15);
        color: black;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr repeat(3, 2fr);
        gap: 5rem;
        margin-bottom: 3rem;
        margin-left: 15%;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .footer-about {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .newsletter {
        display: flex;
        align-items: center;
    }

    .newsletter-input {
        padding: 8px;
        border: 2px solid var(--matrimony-primary);
        width: 250px;
        color: var(--matrimony-primary);
        height: 40px;
    }

        .newsletter-input::placeholder {
            color: var(--matrimony-primary);
            opacity: 1;
        }

        .newsletter-input:focus {
            border-color: var(--matrimony-primary);
            border: 2px solid var(--matrimony-primary);
        }

    .newsletter-btn {
        background-color: var(--matrimony-primary);
        color: white;
        border: none;
        width: 45px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .newsletter-btn:hover {
            background-color: #d81b60;
        }

    .footer-description {
        margin: 1.5rem 0;
        font-size: 0.875rem;
        opacity: 0.8;
        color: black;
    }

    .social-links {
        display: flex;
        gap: 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: background-color 0.3s;
    }

        .social-link:hover {
            background-color: var(--matrimony-primary);
        }

    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 1.1rem;
        color: black;
    }

    .logo-text {
        font-size: 5vh;
        color: white;
        font-weight: bold;
    }

.logo-text1 {
    font-size: 2.5rem;
    color: #F51E92;
    font-weight: normal;
}

    .footer-menu {
        list-style: none;
        padding-left: 0rem !important;
    }

        .footer-menu li {
            margin-bottom: 0.05rem;
            color: black;
        }

        .footer-menu a {
            opacity: 0.8;
            transition: opacity 0.3s;
            font-size: 0.875rem;
            color: black;
        }

            .footer-menu a:hover {
                opacity: 1;
                color: var(--matrimony-primary);
            }

    .copyright {
        text-align: center;
        padding-top: 1rem;
        color: black;
        border-top: 2px solid rgba(200, 200, 200, 0.3);
        opacity: 0.8;
    }

    /* Animations */
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s, transform 0.6s;
    }

        .scroll-reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

    @keyframes slide-in {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fade-in {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .animate-slide-in {
        animation: slide-in 0.8s ease-out forwards;
    }

    .animate-fade-in {
        animation: fade-in 0.8s ease-out forwards;
    }
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 20px 10px;
        width:100%;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack all sections in one column */
        gap: 2rem;
        margin-left: 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

  
    .newsletter-input {
        width: 100%; /* Make input full-width */
        max-width: 250px;
    }

    .newsletter-btn {
        width: 50px;
        height: 40px;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}
    /* Responsive Styles */
    @media (max-width: 1024px) {
        .hero-title {
            font-size: 2rem;
        }

        .features-grid,
        .reasons-grid,
        .plans-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .stories-grid,
        .members-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-grid {
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
    }

    @media (max-width: 768px) {
        .desktop-nav {
            display: none;
        }

        .mobile-menu-btn {
            display: block;
        }

        .hero-grid,
        .introduction-grid,
        .contact-grid {
            grid-template-columns: 1fr;
        }

        .features-grid,
        .reasons-grid,
        .plans-grid {
            grid-template-columns: 1fr 1fr;
        }

        .stories-grid,
        .members-grid {
            grid-template-columns: 1fr;
        }

        .hero-content {
            padding-right: 0;
            text-align: center;
            margin-bottom: 2rem;
        }

        .introduction-content {
            padding-right: 0;
            order: 2;
        }

        .profile-cards {
            order: 1;
            margin-bottom: 2rem;
        }

        .section-title {
            font-size: 3.5rem;
        }

        .plan-card.popular {
            transform: none;
        }

            .plan-card.popular:hover {
                transform: translateY(-10px);
            }

        .footer-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .features-grid, .reasons-grid, .plans-grid {
            grid-template-columns: 1fr;
        }

        .hero-title,
        .section-title {
            font-size: 1.5rem;
        }

        .glass-card,
        .cta-box {
            padding: 1.5rem;
            margin: 0 auto;
        }

       
        .section-header-flex {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }
        .plans-grid {
          
          
            gap: 80px;
            margin: 3rem 0;
          
            z-index: 1;
        }
    }






    .auth-sidebar {
        display: none;
        flex: 1;
        background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
        padding: 40px;
        color: white;
        justify-content: center;
        align-items: center;
    }

    .sidebar-content {
        max-width: 400px;
    }

    .auth-content {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 24px;
        background-color: #f8f9fa;
    }

    .auth-form-container {
        width: 100%;
        color: white;
    }

    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 1px;
        color: white;
        s
    }



    .auth-button {
        background: #FF6B6B;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
    }

        .auth-button:hover {
            background: #ff5252;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .auth-button:disabled {
            background: #cccccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

    .auth-footer {
        margin-top: 20px;
        text-align: center;
        font-size: 14px;
        color: white;
    }

    .auth-link {
        color: #4ECDC4;
        text-decoration: none;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .auth-link:hover {
            color: #FF6B6B;
            text-decoration: underline;
        }

    .button-group {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }



    .age-selects {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .otp-boxes {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin: 15px 0;
    }
#error-message {
    color: #ff4d4d; 
    font-size: 14px; /* Adjust font size */
  
    display: none; /* Initially hidden */
}
    .otp-box {
        width: 40px;
        height: 40px;
        text-align: center;
        font-size: 18px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: rgba(255, 255, 255, 0.5);
    }

        .otp-box:focus {
            outline: none;
            border-color: #FF6B6B;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
        }

    .otp-timer {
        color: white;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        margin: 10px 0;
    }

    .password-input-container {
        position: relative;
    }

    .toggle-password {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #666;
        cursor: pointer;
    }

    .password-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;
    }

    .forgot-password {
        font-size: 15px;
        color: #4ECDC4;
        text-decoration: none;
        text-align: right;
    }

        .forgot-password:hover {
            color: #FF6B6B;
            text-decoration: underline;
        }

    .terms-container {
        margin-top: 10px;
        font-size: 13px;
    }

    .terms-checkbox {
        margin-right: 5px;
    }

    .terms-link {
        color: #4ECDC4;
        cursor: pointer;
    }

        .terms-link:hover {
            text-decoration: underline;
            color: #FF6B6B;
        }

    .terms-content {
        margin-top: 10px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        max-height: 150px;
        overflow-y: auto;
        font-size: 12px;
    }

    .terms-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 10px;
    }

    .accept-terms, .decline-terms {
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        border: none;
    }

    .accept-terms {
        background: #4ECDC4;
        color: white;
    }

    .decline-terms {
        background: #e63946;
        color: white;
    }

    .error-message {
        color: #e63946;
        font-size: 12px;
        margin-top: 4px;
        display: block;
    }

    .spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255,255,255,.3);
        border-radius: 50%;
        border-top-color: #fff;
        animation: spin 1s ease-in-out infinite;
        margin-right: 8px;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    @media (min-width: 768px) {
        .auth-sidebar {
            display: flex;
        }
    }

    .fade-in {
        animation: fadeIn 0.6s ease-out forwards;
    }

    .slide-in {
        animation: slideIn 0.6s ease-out forwards;
    }

    .blur-in {
        animation: blurIn 0.6s ease-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes blurIn {
        from {
            opacity: 0;
            backdrop-filter: blur(0);
            -webkit-backdrop-filter: blur(0);
        }

        to {
            opacity: 1;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
    }


    /* Password Strength */
    .password-strength {
        margin-top: 20px;
        margin-bottom: 25px;
        background-color: white;
        border-radius: 4px;
        padding:20px;
    }

        .password-strength p {
            font-size: 12px;
            color: green;
            margin-bottom: 5px;
        }

    .strength-meter {
        height: 4px;
        background-color: #e0e0e0;
        border-radius: 2px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .strength-bar {
        height: 100%;
        width: 0;
        background-color: #09be51;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

.password-requirements {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 12px;
    color: Red;
    font-weight: bold;
}

        .password-requirements li {
            margin-bottom: 3px;
        }

            .password-requirements li.fulfilled {
                color: green;
                font-weight: bold;
            }

    /* Password Strength */
.password-strength1 {
    margin-top: 20px;
    margin-bottom: 25px;
    background-color: white;
    border-radius: 4px;
    padding: 20px;
}

        .password-strength1 p {
            font-size: 12px;
            color: black;
            margin-bottom: 5px;
        }

    .strength-meter1 {
        height: 4px;
        background-color: #e0e0e0;
        border-radius: 2px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .strength-bar1 {
        height: 100%;
        width: 0;
        background-color: #09be51;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

.password-requirements1 {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 12px;
    color: red;
    font-weight: bold;
}

        .password-requirements1 li {
            margin-bottom: 3px;
        }

            .password-requirements1 li.fulfilled {
                color: green;
                font-weight: bold;
            }

    .google-login-container {
        margin-top: 15px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-google {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent; /* ✅ Transparent background */
        border: 1px solid rgba(255, 255, 255, 0.5);
        padding: 8px 15px;
        cursor: pointer;
        font-size: 16px;
        color: white;
    }

        .btn-google:hover {
            background: white; /* ✅ Turns white on hover */
            color: black; /* ✅ Text turns black on hover */
        }

        .btn-google img {
            width: 20px;
            margin-right: 10px;
        }
/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    margin: 10% auto;
    width: 60%;
    max-width: 600px;
    border-radius: 10px;
    text-align: left;
    margin-top: 100px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: red;
    font-weight: bold;
}
/* Modal Title */
.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Text inside Modal */
.modal-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
}



.terms-list li {
    margin-bottom: 8px;
}
@media (max-width: 576px) {
    .header {
        
        height: 60px; /* Reduce height */
        padding: 1rem 0; /* Less padding for mobile */
      width:95%;
    }
}


@media (max-width: 576px) {
    .logo-text h1,
    .logo-text h3 {
        font-size: 1.6rem;
        text-align: center; /* Optional: center align for mobile */
    }
}
@media (max-width: 768px) {
    .modal-content {
        width: 80%; /* Increase modal width for smaller screens */
        padding: 15px;
    
    }

    .modal-title {
        font-size: 20px; /* Reduce font size of title */
    }

    .modal-text {
        font-size: 14px; /* Reduce font size of text */
    }

    .close {
        font-size: 25px; /* Make close button smaller */
        top: 5px; /* Adjust position of close button */
        right: 10px;
    }
}

/* Media Query for Very Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .modal-content {
        width: 90%; /* Increase modal width for very small screens */
        padding: 10px;
      
    }

    .modal-title {
        font-size: 18px; /* Reduce font size of title further */
    }

    .modal-text {
        font-size: 12px; /* Reduce font size of text further */
    }

    .close {
        font-size: 20px; /* Further reduce close button size */
        top: 0;
        right: 5px;
    }
}