@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);
}

.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 video {
    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;
}


.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;
}

/* Mobile */

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

    body {
        overflow: auto;
    }

    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;
    }

    .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;

    }
}


@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;
    }

    .hero-content {
        padding: 0 35px;
    }

    .btn {
        font-size: 1rem;
    }
}

/* Animtaions */

@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;
    }
}

@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);
    }
}