.container{
    width:min(1240px,calc(100% - 20px));
    margin:0 auto;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

/* =========================
   TOPBAR
========================= */

.topbar {
    background: linear-gradient(90deg, #c0569f, #d58fbd);
    color: #fff;
    font-size: .72rem;
    letter-spacing: .04em;
    width: 100%;
}

.topbar__inner {
    width: min(1240px, calc(100% - 20px));
    margin: 0 auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 5%;
}

.topbar__inner p {
    margin: 0 auto;
    font-size: .72rem;
    color: #fff;
}

.btn-topbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 16px;
    margin: 5px 0;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    white-space: nowrap;
    text-decoration: none;
    transition: background .25s;
    width: auto !important;
}

.btn-topbar:hover {
    background: rgba(255, 255, 255, .38);
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(255, 250, 253, .96);
    border-bottom: 1px solid rgba(192, 86, 159, .10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.navbar__inner {
    width: min(1240px, calc(100% - 20px));
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 5%;
}

/* Logo */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand__logo {
    width: clamp(140px, 18vw, 260px);
    height: auto;
    display: block;
}

/* Desktop nav links */
.navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navlinks a {
    text-decoration: none;
    color: #8e7583;
    font-size: .92rem;
    font-weight: 500;
    position: relative;
    transition: color .25s;
    white-space: nowrap;
}

.navlinks a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c0569f;
    border-radius: 99px;
    transition: width .3s ease;
}

.navlinks a:hover {
    color: #c0569f;
}

.navlinks a:hover::after,
.navlinks .is-active::after {
    width: 100%;
}

.navlinks .is-active {
    color: #c0569f;
    font-weight: 700;
}

/* Partner With Us button */
.btn-navbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 999px;
    border: 2px solid #c0569f;
    color: #c0569f;
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .25s, color .25s;
    width: auto !important;
}

.btn-navbar:hover {
    background: #c0569f;
    color: #fff;
}

/* =========================
   HAMBURGER BUTTON
========================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background .2s;
}

.hamburger:hover {
    background: rgba(192, 86, 159, .08);
}

.hamburger-bar {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #c0569f;
    border-radius: 99px;
    transition:
        top .3s cubic-bezier(.23, 1, .32, 1),
        transform .38s cubic-bezier(.23, 1, .32, 1),
        opacity .25s;
}

.hamburger-bar:nth-child(1) { top: 14px; }
.hamburger-bar:nth-child(2) { top: 21px; }
.hamburger-bar:nth-child(3) { top: 28px; }

/* Morphs into X when open */
.hamburger.open .hamburger-bar:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.hamburger.open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open .hamburger-bar:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* =========================
   MOBILE DRAWER
========================= */

.nav-drawer {
    display: none;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    background: rgba(255, 250, 253, .99);
    border-top: 1px solid rgba(192, 86, 159, .10);
    transition:
        max-height .45s cubic-bezier(.23, 1, .32, 1),
        opacity .3s ease;
}

.nav-drawer.open {
    max-height: 420px;
    opacity: 1;
}

.nav-drawer a {
    display: block;
    padding: 15px 6%;
    color: #503246;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(192, 86, 159, .07);
    transition: color .2s, background .2s;
}

.nav-drawer a:hover,
.nav-drawer a.is-active {
    color: #c0569f;
    background: rgba(192, 86, 159, .04);
}

.nav-drawer .drawer-cta {
    display: block;
    margin: 16px 6% 20px;
    padding: 14px;
    background: #c0569f;
    color: #fff !important;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    border-bottom: none;
    transition: background .25s;
}

.nav-drawer .drawer-cta:hover {
    background: #a54584 !important;
}

/* =========================
   RESPONSIVE
========================= */

   @keyframes marquee {
        0%   { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }
@media (max-width: 820px) {
    .navlinks  { display: none !important; }
    .btn-navbar { display: none !important; }
    .hamburger  { display: flex !important; }
    .nav-drawer { display: flex !important; }

    .brand__logo {
        width: clamp(130px, 38vw, 200px);
    }

    /* FIX: hamburger LEFT, logo RIGHT */
    .navbar__inner {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

     .topbar__inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 0 4% !important;
    }
     .topbar__inner p {
        overflow: hidden !important;
        white-space: nowrap !important;
        flex: 1 !important;
        margin: 0 !important;
    }

    .topbar__inner p span {
        display: inline-block;
        animation: marquee 12s linear infinite;
    }



    .btn-topbar {
        width: auto !important;
        min-width: unset !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 4px 12px !important;
        font-size: .65rem !important;
    }
}

@media (max-width: 480px) {
    .topbar__inner {
        padding: 6px 4%;
    }
    .topbar__inner p {
        font-size: .65rem;
    }
    .navbar__inner {
        padding: 0 4%;
    }
}
@media(max-width:540px){
    .topbar,
    .navbar{
        position: sticky; /* keep sticky, don't make static */
    }
    /* Remove btn-topbar and btn-navbar width:100% */
}


/* =========================
   FOOTER
========================= */
.footer {
    padding: 48px 0 22px;
    background: #f1e8ee;
    margin-top: 12px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.brand--footer .brand__logo {
    width: clamp(170px, 24vw, 300px);
    margin-bottom: 14px;
}

/* Quick Links + Our Work side by side inside one cell */
.footer__middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    padding: 0;
    margin: 0;
}

.footer h4 {
    margin: 0 0 14px;
    color: var(--pink);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.footer__grid > div > a,
.footer__grid > div > p,
.footer__middle > div > a,
.footer__middle > div > p {
    display: block;
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
    font-size: .88rem;
}
.footer a {
    transition: .3s;
}

.footer a:hover {
    color: var(--pink);
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(192, 86, 159, 0.15);
    color: var(--pink);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
}

.social-icon:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(192, 86, 159, 0.2);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* .footer__bottom {
    border-top: 1px solid rgba(192, 86, 159, .12);
    margin-top: 28px;
    padding-top: 18px;
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
} */

.footer__bottom {
    border-top: 1px solid rgba(192, 86, 159, .12);
    margin-top: 28px;
    padding-top: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer__bottom p {
    margin: 0;
    font-size: .8rem;
    color: var(--muted);
}

.developer-credit a {
    color: var(--pink);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.developer-credit a:hover {
    text-decoration: underline;
    opacity: 0.8;
}
.developer-icon {
    margin-right: 6px;
    color: var(--pink);
    font-size: 0.9rem;
    vertical-align: middle;
}

.developer-credit span {
    color: var(--pink);
    font-weight: 600;
}


@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer__middle {
        grid-template-columns: 1fr 1fr;
        grid-column: 1 / -1;  
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}


@media (max-width: 420px) {
    .footer__middle {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;      /* full stack on very small */
    }

    .footer__middle {
        grid-template-columns: 1fr 1fr;  /* keep these side by side always */
        grid-column: auto;
    }

       .footer__bottom p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .developer-credit {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }
}



