@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-heading-font: "Montserrat", sans-serif;
    --primary-para-font: "Lato", sans-serif;
}

/* herolifestysec style start */
#herolifestysec {
    font-family: var(--primary-para-font);
    margin-top: -7rem;
}

#herolifestysec .banner-container {
    width: 100%;
    height: 90vh;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
        url('../images/lifestyle/lifestyle-new-desktop-banner.webp') center/cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#herolifestysec .banner-content {
    position: absolute;
    left: 80px;
    top: 60%;
    transform: translateY(-50%);
    color: white;
    max-width: 900px;
    z-index: 2;
}

#herolifestysec .banner-content h1 {
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-size: 86.05px;
    line-height: 96.81px;
}

#herolifestysec .banner-content p {
    opacity: 0.95;
    font-family: var(--primary-para-font);
    font-weight: 400;
    font-size: 24px;
    line-height: 25px;
}


/* herolifestyMobsec style start */
#herolifestyMobsec {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    padding: 15px;
    box-sizing: border-box;
    margin-top: 5rem;
}

#herolifestyMobsec .hero-container {
    position: relative;
    width: 100%;
    max-width: 768px;
    height: 499px;
    background-image: url('../images/lifestyle/lifestyle-new-mobile-banner.webp');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

#herolifestyMobsec .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 25px;
    color: #ffffff;
    box-sizing: border-box;
}

#herolifestyMobsec .hero-content h3 {
    font-family: var(--primary-heading-font);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.0;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

#herolifestyMobsec .hero-content p {
    font-family: var(--primary-para-font);
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 300;
    opacity: 0.9;
}

/* herolifestyMobsec style end */

/* lifeofaprimusresidentsec style start */
/* Base Styles */
#lifeofaprimusresidentsec {
    font-family: var(--primary-heading-font);
    background: #fff;
    padding: 60px 20px;
}

#lifeofaprimusresidentsec .container {
    max-width: 1366px;
    margin: 0 auto;
}

#lifeofaprimusresidentsec .header {
    text-align: center;
    margin-bottom: 40px;
}


#lifeofaprimusresidentsec .header p {
    color: #333;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

#lifeofaprimusresidentsec .slider-container {
    position: relative;
    overflow: hidden;
}

#lifeofaprimusresidentsec .slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#lifeofaprimusresidentsec .slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
    padding: 10px;
}

#lifeofaprimusresidentsec .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px 20px;
    color: white;
}

#lifeofaprimusresidentsec .card-time {
    background: #c2185b;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#lifeofaprimusresidentsec .card-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

/* Dots Styling */
#lifeofaprimusresidentsec .dots-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

#lifeofaprimusresidentsec .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    border: 2px solid #821A52;
}

#lifeofaprimusresidentsec .dot.active {
    background: #821A52;
}

/* corelivingservicessec style */
#corelivingservicessec {
    font-family: var(--primary-heading-font);
    padding: 20px 0;
    background-color: #fff;
}

#corelivingservicessec .container {
    max-width: 1150px;
    border-radius: 8px;
}

#corelivingservicessec h3 {
    font-family: var(--primary-heading-font);
    text-align: center;
    color: #801B53;
    margin-bottom: 40px;
    font-size: 70px;
    font-weight: 700;
}

#corelivingservicessec .services-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #d0d0d0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #FBFBFB;
}

#corelivingservicessec .services-table td {
    padding: 25px 20px;
    vertical-align: baseline;
    border-right: 2px solid #d0d0d0;
}

#corelivingservicessec .services-table td:last-child {
    border-right: none;
}

#corelivingservicessec .services-table tr:not(:last-child) td {
    border-bottom: 2px solid #d0d0d0;
}

#corelivingservicessec .services-table td:first-child {
    width: 36%;
    color: #801B53;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-size: 22px;
    line-height: 40px;
    padding-left: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    vertical-align: middle;
}

#corelivingservicessec .services-table td:last-child {
    width: 70%;
    color: #000000;
    font-family: var(--primary-para-font);
    font-weight: 400;
    font-size: 22px;
    line-height: 40px;
}

/* corelivingservicessec end */

/* primusfestivedaymagicsec style start */

/* primusfestivedaymagicsec style end */
#primusfestivedaymagicsec {
    line-height: 1.6;
    color: #333;
}

#primusfestivedaymagicsec .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 80px;
    max-width: 1920px;
    margin: 0 auto;
}

#primusfestivedaymagicsec .content {
    flex: 1;
    max-width: 800px;
}

#primusfestivedaymagicsec .content h3 {
    color: #801B53;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
}

#primusfestivedaymagicsec .content p {
    color: #000000;
    font-family: var(--primary-para-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0%;
}

#primusfestivedaymagicsec .image-container {
    flex: 1;
    /* max-width: 600px; */
}

#primusfestivedaymagicsec .image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* primuscelebrationsec style start*/
#primuscelebrationsec {
    font-family: 'Arial', sans-serif;
    background-color: #801B53;
    /* min-height: 100vh; */
    overflow-x: hidden;
}

#primuscelebrationsec .container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    /* min-height: 100vh; */
}


#primuscelebrationsec .left-section {
    flex: 0 0 auto;
    color: white;
}

#primuscelebrationsec .left-section h3 {
    font-family: var(--primary-heading-font);
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#primuscelebrationsec .vertical-line {
    width: 5px;
    background-color: rgb(255, 255, 255);
    height: 20rem;
}

#primuscelebrationsec .right-section {
    flex: 1;
    position: relative;
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#primuscelebrationsec .right-section::-webkit-scrollbar {
    display: none;
}

#primuscelebrationsec .right-section::-webkit-scrollbar-track {
    background: transparent;
}

#primuscelebrationsec .right-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

#primuscelebrationsec .right-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

#primuscelebrationsec .slide {
    height: 500px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    scroll-snap-align: start;
}

#primuscelebrationsec .celebration-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    text-align: center;
}

#primuscelebrationsec .celebration-item div img {
    width: 5rem;
}

#primuscelebrationsec .celebration-item:nth-child(3n) {
    border-right: none;
}

#primuscelebrationsec .icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

#primuscelebrationsec .icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#primuscelebrationsec .celebration-text {
    color: white;
}

#primuscelebrationsec .celebration-text h3 {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.3;
}

/* primuscelebrationsec style end*/
/* primuscelebrationMobsec style start */
#primuscelebrationMobsec {
    background: #801B53;
    min-height: 100vh;
    padding: 20px 0;
}

/* Header Container */
#primuscelebrationMobsec .header-container {
    text-align: center;
    padding: 20px;
}

#primuscelebrationMobsec .header-container h1 {
    color: #fff;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    text-align: center;
}

/* Grid Container */
#primuscelebrationMobsec .grid-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 0;
}

/* Card Styles */
#primuscelebrationMobsec .celebration-card {
    background: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid #A23672;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 180px;
}

#primuscelebrationMobsec .card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

#primuscelebrationMobsec .card-icon img {
    width: 5rem;
}

#primuscelebrationMobsec .card-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    font-family: var(--primary-para-font);
}

/* primuscelebrationMobsec style end */


/* bluezonelivingsec style start */
#bluezonelivingsec {
    font-family: var(--primary-heading-font);
    background-image: url("../images/lifestyle/bluezonebg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    color: #333;
    line-height: 1.6;
    object-fit: cover;
    padding: 4rem 0;
}



#bluezonelivingsec .container {
    max-width: 1366px;
    padding: 40px 20px;
}

#bluezonelivingsec .header {
    text-align: center;
    margin-bottom: 50px;
}

#bluezonelivingsec .header h3 {
    color: #801B53;
    font-family: var(--primary-heading-font);
    font-family: Montserrat;
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
}

#bluezonelivingsec .header p {
    color: #000000;
    font-family: var(--primary-para-font);
    font-weight: 500;
    font-size: 28px;
    line-height: 40px;
    margin-top: 2rem;
}

#bluezonelivingsec .main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    padding: 40px;
    border-radius: 20px;
}

#bluezonelivingsec .left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bluezonelivingsec .image-container {
    width: 100%;
    max-width: 450px;
    margin-bottom: 25px;
}

#bluezonelivingsec .image-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

#bluezonelivingsec .left-section p {
    color: #000000;
    font-family: var(--primary-heading-font);
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
}

#bluezonelivingsec .right-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#bluezonelivingsec .right-section h2 {
    color: #000000;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-size: 48px;
}

#bluezonelivingsec .right-section h4 {
    margin-bottom: 3rem;
    color: #000000;
    font-family: var(--primary-heading-font);
    font-weight: 600;
    font-size: 28px;
    line-height: 40px;
}

#bluezonelivingsec .right-section h6 {
    font-family: var(--primary-para-font);
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 1rem;
}

#bluezonelivingsec .right-section>p {
    font-family: var(--primary-para-font);
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 18px;
}

#bluezonelivingsec .blue-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    justify-items: start;
}

#bluezonelivingsec .zone-card {
    /* background: linear-gradient(135deg, #f5f0ff 0%, #e8f4ff 100%); */
    padding: 20px 20px 20px 0;
    border-radius: 12px;
    text-align: center;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#bluezonelivingsec .zone-card h3 {
    color: #000000;
    margin-bottom: 8px;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 30px;
}

#bluezonelivingsec .zone-card p {
    color: #000000;
    margin-bottom: 8px;
    font-family: var(--primary-heading-font);
    font-weight: 400;
    font-style: Bold;
    font-size: 25px;
    line-height: 30px;
}

/* bluezonelivingsec style end */

/* preventiveteststable style start */
#preventiveteststable {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1rem;
}

#preventiveteststable h3 {
    color: #801B53;
    margin-bottom: 30px;
    font-family: var(--primary-heading-font);
    font-weight: 700;
    font-size: 55px;
    line-height: 90px;
}

/* Table borders ke liye alag container */
#preventiveteststable .table-wrapper {
    width: 100%;
    border: 1px solid #bdabb4;
    border-radius: 8px;
    overflow: hidden;
}

#preventiveteststable .row {
    display: flex;
    border-bottom: 1px solid #bdabb4;
}

#preventiveteststable .row:last-child {
    border-bottom: none;
}

#preventiveteststable .cell {
    flex: 1;
    padding: 1rem 1rem 1rem 4rem;
    color: #801B53;
    background-color: #FBFBFB;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 25px;
    font-family: var(--primary-para-font);
    font-weight: 900;
    font-size: 24px;
    line-height: 36px;
}

/* Desktop column divider */
#preventiveteststable .cell:first-child {
    border-right: 1px solid #e0d0d8;
}

/* preventiveteststable style end */

/* lifeofaprimusresidentsec style start */
#lifeofaprimusresidentsec {
    font-family: var(--primary-heading-font);
    background: #fff;
    padding: 40px 20px;
}

#lifeofaprimusresidentsec .container {
    max-width: 1366px;
    margin: 0 auto;
}

#lifeofaprimusresidentsec .header h3 {
    color: #801B53;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
    text-align: center;
    padding-inline: 10rem;
}

#lifeofaprimusresidentsec .header p {
    color: #000000;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
}

#lifeofaprimusresidentsec .slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

#lifeofaprimusresidentsec .slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

#lifeofaprimusresidentsec .slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
    padding: 0 10px;
}

/* --- Desktop Height (Aapka Original) --- */
#lifeofaprimusresidentsec .card {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 324px;
    background-size: cover;
    background-position: center;
}

#lifeofaprimusresidentsec .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 25px;
    color: white;
}

#lifeofaprimusresidentsec .card-time {
    background: #c2185b;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 8px;
}

#lifeofaprimusresidentsec .card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- Pagination (Aapka Original Design) --- */
#lifeofaprimusresidentsec .dots-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

#lifeofaprimusresidentsec .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 2px solid #821A52;
}

#lifeofaprimusresidentsec .dot.active {
    background: #821A52;
}

/* lifeofaprimusresidentsec style end */

/* All responsive style code */
/* Responsive for 1366px */
@media screen and (max-width: 1695px) {
    #primusfestivedaymagicsec .content h3 {
        font-size: 58px;
        line-height: 80px;
    }
}

@media screen and (max-width: 1366px) {
    #herolifestysec .banner-container {
        border-radius: 25px;
    }

    .banner-content {
        left: 60px;
        max-width: 550px;
    }

    #herolifestysec .banner-content h1 {
        font-size: 48px;
    }

    #herolifestysec .banner-content p {
        font-size: 18px;
    }

    #primuscelebrationsec .left-section h3 {
        font-size: 3rem;
    }

    #lifeofaprimusresidentsec .header h3 {
        font-size: 60px;
        line-height: 75px;
        padding-inline: 13rem;
    }

    #corelivingservicessec h3 {
        font-size: 60px;
    }

    #corelivingservicessec .services-table td:first-child {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    #bluezonelivingsec .header h3 {
        font-size: 60px;
    }

    #bluezonelivingsec .right-section h2 {
        font-size: 40px;
    }

    #bluezonelivingsec .right-section h4 {
        font-size: 24px;
    }

    #preventiveteststable h3 {
        font-size: 48px;
    }


    #preventiveteststable .cell {
        font-size: 18px;
        line-height: 23px;
        font-weight: 700;
    }

    #preventiveteststable {
        width: 920px;
    }
}


/* Responsive for 1024px */
@media screen and (max-width: 1320px) {
    #lifeofaprimusresidentsec .header h3 {
        font-size: 54px;
        line-height: 64px;
        padding-inline: 9rem;
    }

    #lifeofaprimusresidentsec .header p {
        font-size: 18px;
        line-height: 24px;
    }

    #primusfestivedaymagicsec .content h3 {
        font-size: 38px;
        line-height: 50px;
    }

    #primusfestivedaymagicsec .content p {
        font-size: 16px;
        line-height: 18px;
    }

    #bluezonelivingsec .header h3 {
        font-size: 55px;
        line-height: 56px;
    }

    #bluezonelivingsec .right-section h2 {
        font-size: 35px;
    }

    #bluezonelivingsec .right-section h4 {
        font-size: 20px;
        margin-bottom: 2rem;
    }

    #bluezonelivingsec .main-content {
        gap: 5px;
    }

    #bluezonelivingsec .right-section h6 {
        font-size: 18px;
        line-height: 22px;
    }

    #bluezonelivingsec .right-section>p {
        font-size: 18px;
        line-height: 24px;
    }

    #bluezonelivingsec .zone-card h3 {
        font-size: 20px;
        margin-bottom: 0;
    }

    #bluezonelivingsec .zone-card p {
        font-size: 18px;
    }

    #bluezonelivingsec .main-content {
        padding: 16px;
    }
}

@media screen and (max-width: 1024px) {
    #herolifestysec .banner-container {
        height: 499px;
        border-radius: 20px;
    }

    .banner-content {
        left: 40px;
        max-width: 500px;
    }

    #herolifestysec .banner-content h1 {
        font-size: 42px;
    }

    #herolifestysec .banner-content p {
        font-size: 16px;
    }

    #corelivingservicessec .services-table td:first-child {
        font-size: 19px;
    }

    #corelivingservicessec .services-table td:last-child {
        font-size: 16px;
        line-height: 30px;
    }

    #primuscelebrationsec .celebration-text h3 {
        font-size: 16px;
    }

    #primuscelebrationsec .left-section h3 {
        font-size: 2rem;
    }

    #primuscelebrationsec .container {
        gap: 14px;
    }

    #primuscelebrationsec .celebration-item div img {
        width: 3rem;
    }

    #lifeofaprimusresidentsec .card-title {
        font-size: 13px;
    }

    #preventiveteststable h3 {
        font-size: 45px;
        line-height: 60px;
    }

    #preventiveteststable .cell {
        padding: 0.5rem 0.5rem 0.5rem 2rem;
        font-size: 20px;
    }

    #lifeofaprimusresidentsec .header h3 {
        font-size: 46px;
        line-height: 55px;
        padding-inline: 12rem;
    }

    #corelivingservicessec h3 {
        font-size: 46px;
    }

    #primuscelebrationsec .container {

        padding: 0 20px;
    }

    #bluezonelivingsec .header h3 {
        font-size: 46px;
    }

    #bluezonelivingsec .header p {
        font-family: var(--primary-heading-font);
        line-height: 30px;
        margin-top: 1rem;
    }

    #preventiveteststable {
        width: 768px;
    }
}

/* Additional responsive for smaller screens */
@media screen and (max-width: 768px) {
    #herolifestysec {
        margin-top: 6rem;
    }

    #herolifestysec .banner-container {
        height: 350px;
        border-radius: 15px;
    }

    .banner-content {
        left: 30px;
        max-width: 90%;
        right: 30px;
    }

    #herolifestysec .banner-content h1 {
        font-size: 36px;
    }

    #herolifestysec .banner-content p {
        font-size: 14px;
    }

    #lifeofaprimusresidentsec .slider-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    #lifeofaprimusresidentsec .slider-wrapper {
        display: flex;
        gap: 16px;
        width: 86%;
    }

    #lifeofaprimusresidentsec .slide {
        display: contents;
    }

    #lifeofaprimusresidentsec .card {
        flex: 0 0 82%;
        height: 364px;
        border-radius: 18px;
        background-size: cover;
        background-position: center;
        scroll-snap-align: start;
        position: relative;
    }

    #lifeofaprimusresidentsec .card-overlay {
        padding: 16px;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.75),
                rgba(0, 0, 0, 0.15),
                transparent);
    }

    #lifeofaprimusresidentsec .card-time {
        font-size: 12px;
        padding: 5px 12px;
        border-radius: 14px;
        background: #c2185b;
        display: inline-block;
        margin-bottom: 6px;
    }

    #lifeofaprimusresidentsec .card-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
    }

    #lifeofaprimusresidentsec .dots-container {
        display: none;
    }

    #lifeofaprimusresidentsec .header h3 {
        padding-inline: 0;
        font-size: 30px;
        line-height: 48px;
    }

    #lifeofaprimusresidentsec .header p {
        font-size: 16px;
        line-height: 22px;
    }

    #lifeofaprimusresident h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    #lifeofaprimusresident .container {
        padding: 30px 15px;
    }

    #lifeofaprimusresident .services-table,
    #lifeofaprimusresident .services-table tbody,
    #lifeofaprimusresident .services-table tr,
    #lifeofaprimusresident .services-table td {
        display: block;
        width: 100%;
    }

    #lifeofaprimusresident .services-table {
        border: none;
    }

    #lifeofaprimusresident .services-table tr {
        margin-bottom: 25px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px;
        background-color: #fafafa;
    }

    #lifeofaprimusresident .services-table td {
        padding: 0;
        border: none;
    }

    #lifeofaprimusresident .services-table td:first-child {
        width: 100%;
        margin-bottom: 12px;
        font-size: 1.15rem;
    }

    #lifeofaprimusresident .services-table td:last-child {
        width: 100%;
    }

    #preventiveteststable .row {
        flex-direction: column;
    }

    #preventiveteststable .cell {
        border-right: none !important;
        border-bottom: 1px solid #e0d0d8;
        width: 100%;
        box-sizing: border-box;
    }

    #preventiveteststable .empty-cell {
        display: none;
    }

    #preventiveteststable .row:last-child .cell:last-child {
        border-bottom: none;
    }

    #corelivingservicesMobsec {
        padding: 16px;
        background: #fff;
    }

    #corelivingservicesMobsec h2 {
        text-align: center;
        font-size: 32px;
        font-weight: 700;
        color: #801B53;
        margin-bottom: 12px;
        font-family: var(--primary-heading-font);
    }

    #corelivingservicesMobsec .resident-card {
        width: 100%;
    }

    #corelivingservicesMobsec .resident-card h3 {
        width: 100%;
        text-align: center;
        padding: 10px 12px;
        margin: 0 0;
        font-size: 20px;
        font-weight: 600;
        color: #801B53;
        border: 1px solid #f2c6d9;
        border-radius: 14px 14px 0 0;
        background: #fff;
        box-sizing: border-box;
        font-family: var(--primary-heading-font);
    }

    #corelivingservicesMobsec .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #corelivingservicesMobsec .cell:nth-child(1) {
        border-radius: 0 0 14px 14px !important;
    }

    #corelivingservicesMobsec .cell:nth-child(2) {
        border-radius: 0 0 14px 14px !important;
    }

    #corelivingservicesMobsec .cell {
        border: 1px solid #f2c6d9;
        border-radius: 14px;
        padding: 14px;
        font-size: 12px;
        line-height: 1.45;
        color: #333;
        background: #fff;
    }

    #corelivingservicesMobsec .cell h4 {
        margin: 0 0 6px;
        padding-bottom: 6px;
        font-size: 13px;
        font-weight: 600;
        color: #8b1d5a;
        border-bottom: 1px solid #f2c6d9;
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
        font-family: var(--primary-heading-font);
    }

    #corelivingservicesMobsec .cell h5 {
        margin: 0 0 6px;
        padding-bottom: 6px;
        color: #000000;
        font-family: var(--primary-heading-font);
        font-weight: 500;
        font-style: Medium;
        font-size: 12px;
        line-height: 20px;
    }

    #corelivingservicesMobsec .cell.full {
        grid-column: 1;
    }

    #primusfestivedaymagicsec .container {
        align-items: center;
        justify-content: center;
        gap: 28px;
        padding: 1rem;
        flex-direction: column;
        margin-top: 2rem;
    }

    #primusfestivedaymagicsec .content {
        flex: 1;
        max-width: 800px;
        text-align: center;
    }

    #primuscelebrationMobsec .card-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    #bluezonelivingsec .main-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #bluezonelivingsec .right-section {
        text-align: center;
    }

    #bluezonelivingsec .blue-zones {
        justify-items: center;
    }

    /* preventiveteststableMob style start */
    #preventiveteststableMob {
        padding: 46px 15px;
        background-color: #ffffff;
    }

    #preventiveteststableMob h3 {
        color: #821A52;
        margin-bottom: 20px;
        text-align: center;
        font-family: var(--primary-heading-font);
        font-weight: 700;
        font-size: 32px;
        line-height: 36px;
    }

    .preventMobtable {
        width: 90%;
        border-collapse: collapse;
        border: 3px solid #801B53;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
        margin: 0 auto;
    }

    .preventMobtable tbody tr {
        border-bottom: 1px solid #E6D1DC;
    }

    .preventMobtable tbody tr:last-child {
        border-bottom: none;
    }

    .preventMobtable tbody tr td {
        padding: 12px 20px;
        font-size: 12px;
        font-weight: 900;
        color: #801B53;
        text-align: center;
        font-family: var(--primary-para-font);
        line-height: 0.75;
    }

    .preventMobtable tbody tr:hover td {
        background-color: #f9f5fa;
    }

    /* preventiveteststableMob style end */
    #bluezonelivingsec .right-section h2 {
        font-size: 28px;
    }

    #bluezonelivingsec .right-section h4 {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    #bluezonelivingsec .header h3 {
        font-size: 34px;
        line-height: 47px;
    }

    #bluezonelivingsec .header p {
        font-size: 20px;
        line-height: 20px;
        margin-top: 1rem;
    }

    #bluezonelivingsec .zone-card {
        border-right: 2px solid black;
        border-radius: 0;
    }

    #bluezonelivingsec .zone-card p {
        font-size: 13px;
    }

    #bluezonelivingsec {
        padding: 0;
    }
}


@media screen and (max-width: 480px) {
    #herolifestysec .banner-container {
        height: 300px;
        border-radius: 10px;
    }

    #herolifestysec .banner-content {
        left: 20px;
        right: 20px;
    }

    #herolifestysec .banner-content h1 {
        font-size: 28px;
    }

    #herolifestysec .banner-content p {
        font-size: 13px;
    }

    #lifeofaprimusresidentsec .card {
        min-width: 100%;
    }

    #lifeofaprimusresident h1 {
        font-size: 1.5rem;
    }

    #lifeofaprimusresident .services-table td:first-child {
        font-size: 1.05rem;
    }

    #primuscelebrationMobsec .grid-container {
        gap: 0;
        padding: 10px;
    }

    #primuscelebrationMobsec .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    #primusfestivedaymagicsec .content h3 {
        font-size: 32px;
        line-height: 44px;
    }

    #lifeofaprimusresidentsec .header h3 {
        font-size: 28px;
        line-height: 42px;
    }

    #primuscelebrationMobsec .card-icon img {
        width: 3rem;
    }
}

@media screen and (max-width: 364px) {
    #primuscelebrationMobsec .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    #bluezonelivingsec .image-container img {
        width: 90%;
    }

    #bluezonelivingsec .blue-zones {
        grid-template-columns: repeat(2, 1fr);
        justify-items: end;
    }

    #lifeofaprimusresidentsec .header h3 {
        font-size: 22px;
        line-height: 36px;
    }

    #herolifestyMobsec .hero-content h3 {
        font-size: 2.2rem;
    }
}

/* primuscelebrationMobsec style end */

@media screen and (min-width: 769px) {

    #herolifestyMobsec,
    #corelivingservicesMobsec,
    #primuscelebrationMobsec,
    #preventiveteststableMob {
        display: none;
    }

    #lifeofaprimusresidentsec .slider-container {
        overflow: hidden;
    }
}

@media (max-width:992px) {
    #herolifestysec {
        margin-top: 120px;
    }

    #lifeofaprimusresidentsec .header h3 {
        font-size: 28px;
        line-height: 50px;
    }

    #lifeofaprimusresidentsec {
        padding-top: 75px;
    }
}