@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800;900&display=swap');

:root {
    --navy-text: #2c3e50;
    /* --navy-header: #213554; */
    --navy-header: #9445b2;
    --gray-text: #4a5c70;
    --btn-gradient-start: #ffad99;
    --btn-gradient-end: #fa8270;
    --bg-blue-light: #e0efff;
    --glow-color: rgba(255, 186, 186, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--gray-text);
    overflow-x: hidden;
    background: #ffa7f1;
}

/* Background Animations */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: none;
}

.bg-waves {
    width: 120%;
    height: 120%;
    margin-left: -10%;
    margin-top: -10%;
    transform: scale(1.05);
}

.white-wave {
    fill: #ffffff;
    filter: drop-shadow(10px 0 20px rgba(0, 0, 0, 0.03));
}

/* Bubbles based on the reference image bottom left */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float-up linear infinite;
}

.b1 {
    width: 45px;
    height: 45px;
    bottom: 10%;
    left: 6%;
    animation-duration: 8s;
}

.b2 {
    width: 25px;
    height: 25px;
    bottom: 18%;
    left: 12%;
    animation-duration: 6s;
}

.b3 {
    width: 15px;
    height: 15px;
    bottom: 5%;
    left: 15%;
    animation-duration: 7s;
}

.b4 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    left: 3%;
    animation-duration: 10s;
}

.b5 {
    width: 20px;
    height: 20px;
    bottom: 24%;
    left: 8%;
    animation-duration: 5s;
}

/* Main Layout */
.wrapper {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    border-radius: 0px 0px 20px 20px;
    background: white;
    padding: 0px;
    box-shadow: 0 8px 20px rgb(199 26 175 / 26%);

}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 70px;
    height: auto;
    object-fit: contain;
}

.header-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-header);
    letter-spacing: -0.5px;
}


nav {
    display: flex;
    gap: 20px;
    padding-right: 10px;
}

nav a {
    text-decoration: none;
    color: #4b1d5b;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #9445b2;
}

.nav-active {
    color: #9445b2 !important;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 5;
    padding-bottom: 50px;
    padding-top: 25px;
}

.hero-content {
    max-width: 520px;
    animation: fade-in-left 1s ease-out;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--navy-header);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content h4 {
    color: var(--navy-header);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #4b1d5b;
    font-weight: 600;
    max-width: 500px;
    line-height: 1;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #9445b2, #9445b2);
    color: white;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(251, 145, 251, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 145, 251, 0.3);
}

/* Image Container */
.hero-image-container {
    position: relative;
    width: 650px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade-in-right 1s ease-out;
    margin-right: -40px;
}

.glow-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: transparent;
    border: 8px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 60px var(--glow-color), inset 0 0 40px var(--glow-color);
    animation: morph 8s ease-in-out infinite alternate, pulse-glow 3s infinite alternate;
}

.image-mask {
    width: 450px;
    height: 450px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    position: relative;
    z-index: 2;
    animation: morph 8s ease-in-out infinite alternate-reverse;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer.footer {
    color: #4b1d5b;
    padding: 60px 20px 20px;
    font-family: 'Nunito', sans-serif;
    border-radius: 50px 50px 0 0;
    background: white;

}

.logo-circle {
    display: flex;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-about,
.footer-contact,
.footer-links,
.footer-social {
    flex: 1 1 220px;
}

.footer-logo h2 {
    margin: 10px 0 5px;
    font-weight: 800;
}

.footer-about p {
    max-width: 250px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #4b1d5b;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social .social-icons a {
    margin-right: 10px;
    display: inline-block;
}

.footer-social .social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #6b3c7e;
}

/* Dropdown hover for desktop */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #f7e6f1;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 100;
}

/* Sub-links style */
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: #4b1d5b;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #e2c4eb;
}

/* Hamburger button (mobile only) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #4b1d5b;
    border-radius: 3px;
}

.reviews {
    text-align: center;
    width: 388px;
    overflow: hidden
}

.reviews h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--navy-header);
}


.review-card li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #4b1d5b;
    font-weight: 600;
    line-height: 1;
}

#categoryList {
    list-style: none;
}

.review-card {
    position: relative;
    padding: 20px 15px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    background: white;
}

/* 🔥 Animated Gradient Border */
.review-card::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    background: linear-gradient(270deg, #ff6ec4, #fbc2eb, #fbc2eb, #ff6ec4);
    background-size: 400% 400%;
    animation: borderMove 6s linear infinite;
    z-index: -2;
}

/* Mask center to create border effect */
.review-card::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: white;
    border-radius: 18px;
    z-index: -1;
}

/* ✨ Background abstract glow */
.review-card .bg-animate {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.3), transparent 60%);
    animation: floatBg 8s ease-in-out infinite;
    z-index: 0;
}

/* ❤️ Floating hearts */
.review-card .heart {
    position: absolute;
    color: rgba(255, 105, 180, 0.4);
    font-size: 18px;
    animation: floatHeart 6s linear infinite;
}

/* Different positions */
.review-card .heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.review-card .heart:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
}

.review-card .heart:nth-child(3) {
    left: 70%;
    animation-delay: 4s;
}

.testimonial-circle {
    background: #fdd2f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testi-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}


.chat-bubble {
    position: absolute;
    background: white;
    padding: 10px 18px;
    box-shadow: 0 8px 15px rgba(255, 186, 186, 0.3);
    font-weight: 800;
    color: var(--navy-header);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 3px solid var(--navy-header);
    border-radius: 20px;
    z-index: 10;
    animation: bounce 4s ease-in-out infinite alternate;
}

.chat-bubble.cb-text {
    border-radius: 30px;
    padding: 15px 25px;
    text-align: center;
    line-height: 1.2;
}

/* Specific bubble colors and styles */
.chat-bubble i.fa-star {
    color: #ffc233;
    font-size: 1.2rem;
}

/* Positions matching the reference image layout */
.cb-1 {
    top: 22%;
    left: 24%;
    border-bottom-left-radius: 5px;
    animation-delay: 0.1s;
}

/* 3 stars */
.cb-2 {
    top: 32%;
    left: 8%;
    border-bottom-right-radius: 5px;
    animation-delay: 0.5s;
}

/* 4.5 */
.cb-3 {
    top: 25%;
    right: 18%;
    border-bottom-right-radius: 5px;
    animation-delay: 0.3s;
}

/* 3 stars top right */
.cb-4 {
    bottom: 40%;
    left: 3%;
    border-top-right-radius: 5px;
    animation-delay: 0.8s;
    padding: 10px 14px;
}

/* Heart 4.5 */
.cb-5 {
    top: 34%;
    right: 4%;
    border-bottom-left-radius: 5px;
    animation-delay: 0.9s;
}

/* 3 stars far right */
.cb-6 {
    bottom: 18%;
    left: 16%;
    border-top-right-radius: 5px;
    /* background: #ffe9e6; */
    animation-delay: 0.2s;
}

/* Highly Recommend! */
.cb-7 {
    bottom: 20%;
    right: 10%;
    border-top-left-radius: 5px;
    animation-delay: 0.6s;
}

/* Amazing Care! */

/* Floating hearts matching the scattering */
.float-heart {
    position: absolute;
    color: #ff6b81;
    z-index: 5;
    animation: float-up-loop 5s ease-in-out infinite alternate;
}

.fh-1 {
    top: 18%;
    right: 20%;
    font-size: 2.2rem;
}

.fh-2 {
    top: 35%;
    right: 16%;
    font-size: 1.1rem;
}

.fh-3 {
    bottom: 50%;
    left: 7%;
    font-size: 1.2rem;
}

.fh-4 {
    bottom: 15%;
    right: 38%;
    font-size: 1.4rem;
}



.gallery-container {
    text-decoration: underline;
    color: var(--navy-header);
    margin: 30px auto 5px auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 120px);
    gap: 10px;
    margin: 5px 0 30px 0;
}

.gallery div {
    border: 2px solid;
    border-color: white;
    border-radius: 15px;
}

/* Images */
.gallery div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
}

/* 🔥 Layout */
.div1 {
    grid-column: span 2;
    grid-row: span 4;
    /* BIG image */
}

.div2 {
    grid-column: span 2;
    grid-row: span 2;
}

.div3 {
    grid-column: span 1;
    grid-row: span 2;
}

.div4 {
    grid-column: span 1;
    grid-row: span 2;
}

/* Hover effect */
.gallery div img {
    transition: transform 0.4s ease, box-shadow 0.4s;
}

.gallery div img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* MOBILE */
@media (max-width: 900px) {
    .wrapper {
        flex-direction: column;
        overflow-y: auto;
        height: auto;
        padding: 0px 5px;
    }

    body {
        overflow: auto;
    }


    .hero {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
    }

    .hero-content {
        margin-top: 40px;
        max-width: 100%;
        z-index: 10;
    }

    .hero-image-container {
        width: 100%;
        max-width: 100%;
        height: 350px;
        margin-top: 20px;
        margin-right: 0;
    }


    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    footer.footer {
        border-radius: 50px 50px 0 0;
        background: white;

    }

    nav {
        display: none;
        flex-direction: column;
        gap: 12px;
        background: #f7e6f1;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 99;
        border-radius: 0 0 20px 20px;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-content {
        position: relative;
        display: block;
        box-shadow: none;
        background: white;
        padding-left: 0px;
        border-radius: 20px;
    }

    .dropbtn {
        font-weight: 600;
        color: #4b1d5b;
    }

    .dropdown-content a {
        font-size: 1rem;
        color: #6b3c7e;
    }
}


@media (orientation: portrait) and (max-width: 900px) {
    .glow-ring {
        width: 334px;
        height: 340px;
    }

    .image-mask {
        width: 301px;
        height: 297px;
    }

    .background-container {
        width: 100px;
        height: 100vh;
    }

    .reviews {
        width: 100%;
    }

    .btn {
        font-size: 1rem;
    }

    .chat-bubble {
        padding: 3px 8px;
    }

    .chat-bubble i.fa-star {
        font-size: 0.6rem;
    }

    .chat-bubble.cb-text {
        padding: 5px 14px;
        font-size: 0.6rem;
    }

    .cb-4 {
        padding: 4px 14px;
    }

}

/* Animations */
@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}

@keyframes floatBg {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

@keyframes floatHeart {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
    }

    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes bounce {
    from {
        transform: translateY(6px);
    }

    to {
        transform: translateY(-6px);
    }
}

@keyframes float-up-loop {
    from {
        transform: translateY(10px) scale(0.95);
        opacity: 0.8;
    }

    to {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
}

@keyframes morph {
    0% {
        border-radius: 50%;
    }

    50% {
        border-radius: 46% 54% 43% 57% / 54% 46% 57% 43%;
    }

    100% {
        border-radius: 52% 48% 54% 46% / 48% 52% 44% 56%;
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 40px var(--glow-color), inset 0 0 30px var(--glow-color);
    }

    100% {
        box-shadow: 0 0 70px var(--glow-color), inset 0 0 50px var(--glow-color);
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }

    80% {
        opacity: 1;
        transform: translateY(-80px) scale(1);
    }

    100% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0;
    }
}