@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Patrick+Hand&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

:root {
    --cream: #f5f0e8;
    --warm-white: #faf8f4;
    --dark: #c5c2be;
    --brown: #6b4c35;
    --tan: #c9a87c;
    --accent: #d4713a;
    --light-gray: #ede8df;
    --text-muted: #7a6f63;
    --text-light: #f5f5f5;
    --border-light: #e5e5e5;
    --primary: #225777;
    --primary-dark: #173054;
    --primary-link: #2e75a1;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--warm-white);
    color: var(--primary-dark);
    overflow-x: hidden;
    padding-top: 100px;
}

.top-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1005;
    transition: transform 0.35s ease;
}

.top-wrapper.hide {
    transform: translateY(-100%);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--dark);
    color: var(--primary-dark);
    font-size: 14px;
    padding: 10px 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-left {
    display: flex;
    gap: 30px;
}

.announcement-right {
    display: flex;
    gap: 20px;
}

.announcement-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 13px;
}

.user-menu {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

#adminPanelLink {
    margin-right: 15px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* ── NAV ── */
.main-header {
    background: var(--text-light);
    padding: 5px 0;
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary);
}

.mega-menu {
    position: absolute;
    top: 21px;
    left: 0;
    background: #f7f4ef;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: none;
    width: 720px;
}

.nav-item:hover .mega-menu {
    display: block;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.mega-links {
    list-style: none;
}

.mega-links li {
    margin-bottom: 8px;
}

.mega-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
}

.mega-links a:hover {
    color: var(--primary);
}

.mega-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #8a5a2b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5ded4;
}

.mega-links {
    list-style: none;
    margin-top: 15px;
}

.mega-links li {
    margin-bottom: 12px;
}

.mega-links a {
    text-decoration: none;
    color: #8a8a8a;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.mega-links a:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.mega-featured {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5ded4;
    display: flex;
    gap: 60px;
    align-items: center;
}

.mega-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    font-size: 15px;
}

.mega-feature-item i {
    font-size: 20px;
    color: var(--primary-dark);
}

.logo img {
    height: 65px;
}

/* ── Skeleton loaders ─────────────────────────── */
.cat-skeleton {
    pointer-events: none;
    cursor: default;
    animation: cat-pulse 1.4s ease-in-out infinite;
}

.cat-skeleton-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    margin: 0 auto 12px;
}

.cat-skeleton-text {
    height: 14px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    width: 60%;
    margin: 0 auto 8px;
}

.cat-skeleton-sub {
    height: 12px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    width: 40%;
    margin: 0 auto;
}

@keyframes cat-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

/* ── Cat card with thumbnail image ───────────── */
.cat-card--link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-thumb {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
    border: 2px solid rgba(0, 0, 0, 0.06);
}

/* ── Mega menu heading link (looks like plain h4) */
.mega-col-heading-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: inherit;
}

.mega-col-heading-link:hover {
    text-decoration: underline;
}

/* HEADER ICONS */

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.icon-link {
    font-size: 18px;
    color: var(--primary-dark);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.icon-link:hover {
    color: var(--primary);
}

/* CART COUNT */

.cart-icon {
    position: relative;
}

.icon-link i {
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* SEARCH BAR */

.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    border: 1px solid var(--border-light);
    padding: 5px 12px;
    max-width: 160px;
    gap: 8px;
}

.search-input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100px;
    font-family: 'Jost', sans-serif;
    flex: 1;
    color: var(--primary-dark)
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 14px;
    margin-left: 5px;
}

/* HERO SLIDER */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 0 5% 0;
    min-height: 90vh;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin: 18px 0 28px;
    color: var(--text-muted);
}

/* HERO BUTTON */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 113, 58, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(58, 130, 212, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img-wrap {
    width: 100%;
    max-width: 520px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: fade 0.8s ease;
}

.slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 25px;
    display: flex;
    gap: 10px;
}

.slider-controls button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.slider-controls button:hover {
    background: var(--accent);
}

/* ── MARQUEE ── */
.marquee-wrap {
    background: var(--primary-dark);
    color: var(--cream);
    padding: .9rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
}

.marquee-inner span {
    font-size: .85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.marquee-inner span::before {
    content: '◆';
    color: var(--tan);
    font-size: .5rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── SECTION HEADER ── */
.section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .8rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-sub {
    color: var(--text-muted);
    margin-top: .8rem;
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CATEGORIES ── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cat-card {
    background: var(--light-gray);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-dark);
    opacity: 0;
    transition: opacity .3s;
    border-radius: 24px;
}

.cat-card:hover::before {
    opacity: .06;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
}

.cat-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: block;
}

.cat-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.cat-count {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── PRODUCTS ── */
.products {
    background: var(--cream);
}

.filter-tabs {
    display: flex;
    gap: .5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab {
    padding: .5rem 1.4rem;
    border-radius: 50px;
    border: 1.5px solid var(--light-gray);
    background: #fff;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    color: var(--text-muted);
    font-family: 'Jost', sans-serif;
}

.tab.active,
.tab:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
}

.product-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-gray);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: .25rem .7rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 500;
}

.product-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all .3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.product-wishlist:hover {
    background: #fee;
    color: red;
}

.product-info {
    padding: 1.4rem;
}

.product-category {
    font-size: .75rem;
    color: var(--tan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .4rem;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
}

.stars {
    color: #f5a623;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-footer button {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-price span {
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: .4rem;
    font-weight: 400;
}

.add-cart {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-cart:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 5px 10px;
}

.qty-box button {
    border: none;
    background: var(--primary-dark);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.qty-box button:hover {
    background: var(--accent);
}

.qty-box span {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* ── FEATURES ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    transition: all .3s;
}

.feature-card:hover {
    border-color: var(--primary-dark);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    background: var(--light-gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.feature-desc {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── BANNER ── */
.banner {
    margin: 0 5% 6rem;
    background: var(--primary-dark);
    border-radius: 40px;
    padding: 5rem 6%;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.banner::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -30%;
    width: 50%;
    height: 160%;
    /* background: radial-gradient(circle, rgba(212, 113, 58, .2) 0%, transparent 70%); */
}

.banner-text {
    position: relative;
    z-index: 1;
}

.banner-tag {
    color: var(--tan);
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.banner-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.banner-title em {
    color: var(--tan);
    font-style: italic;
}

.banner-desc {
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-light {
    background: var(--cream);
    color: var(--primary-dark);
    padding: .9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    transition: all .3s;
    display: inline-block;
}

.btn-light:hover {
    background: var(--tan);
    color: #fff;
}

.banner-img {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    height: 360px;
}

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

/* ── TESTIMONIALS ── */
.testimonials {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testi-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    transition: all .3s;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.testi-stars {
    color: #f5a623;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testi-text {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light-gray);
    overflow: hidden;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-name {
    font-weight: 600;
    font-size: .9rem;
}

.testi-role {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ── NEWSLETTER ── */
.newsletter-section {
    padding: 5rem 5%;
    text-align: center;
}

.newsletter-box {
    background: var(--light-gray);
    border-radius: 32px;
    padding: 4rem 3rem;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: .8rem;
}

.newsletter-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 240px;
    padding: .85rem 1.4rem;
    border-radius: 50px;
    border: 1.5px solid rgba(0, 0, 0, .1);
    font-size: .9rem;
    background: #fff;
    outline: none;
    font-family: 'Jost', sans-serif;
    transition: border-color .3s;
    color: var(--primary-dark);
}

.newsletter-form input:focus {
    border-color: var(--primary-dark);
}

.newsletter-form button {
    background: var(--primary-dark);
    color: #fff;
    padding: .85rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s;
    font-family: 'Jost', sans-serif;
}

.newsletter-form button:hover {
    background: var(--accent);
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    color: var(--primary-dark);
    padding: 80px 5% 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 5px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.9s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(117, 149, 179, 0.514);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .9rem;
    transition: background .3s;
}

.footer-col h4 {
    color: var(--primary-dark);
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: .5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: .7rem;
}

.footer-col ul li a {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: .88rem;
    transition: color .3s;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: var(--primary-dark);
    text-decoration: none;
}

.policies {
    display: flex;
    gap: 7px;
}

/* ── CART TOAST ── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--primary-dark);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all .7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top */
.back-to-top,
.whatsapp {
    position: fixed;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff; 

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    z-index: 99;
}

.back-to-top:hover,
.whatsapp:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}


.back-to-top {
    bottom: 90px;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp {
    bottom: 150px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 7rem;
    }

    .hero::before {
        display: none;
    }

    .hero-img-wrap {
        height: 340px;
        border-radius: 24px;
    }

    .banner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .announcement-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .announcement-left {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .banner {
        margin: 0 0 4rem;
        border-radius: 0;
    }
}

.back-to-top,
.scroll-down {
    position: fixed;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.back-to-top {
    bottom: 90px;
}

.scroll-down {
    bottom: 30px;
}

.back-to-top:hover,
.scroll-down:hover {
    transform: translateY(-3px);
}

.scroll-down {
    display: none !important;
}

/* =========================
   GLOBAL RESPONSIVE FIXES
========================= */

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    margin: auto;
}

/* Prevent overflow */
body {
    overflow-x: hidden;
}

/* =========================
   MOBILE NAVBAR
========================= */

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* MOBILE STYLE */
@media (max-width: 768px) {

    /* Show hamburger */
    .hamburger {
        display: block;
    }

    /* Hide menu by default */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 25px;
        transition: 0.3s;
        z-index: 1000;
    }

    /* When active */
    .nav-menu.active {
        left: 0;
    }

    /* Fix nav items spacing */
    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 18px;
    }

    /* Disable mega menu hover on mobile */
    .mega-menu {
        display: none !important;
    }
}

/* CLOSE BUTTON */
.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary-dark);
    z-index: 1001;
}

/* SHOW CLOSE BUTTON ONLY ON MOBILE */
@media (max-width: 768px) {
    .close-menu {
        display: block;
    }
}

/* ============================= */
/* MOBILE BOTTOM BAR */
/* ============================= */

.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: #fff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
        z-index: 9999;
    }

    .announcement-right {
        display: none;
    }

    .announcement-left {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .user-menu {
        display: none;
    }

    .header-icons {
        display: none;
    }

    .main-header {
        padding: 10px 0;
    }

    .mobile-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #333;
        text-decoration: none;
        gap: 3px;
    }

    .mobile-item i {
        font-size: 20px;
    }

    .mobile-item:active {
        color: var(--primary);
    }

    /* Prevent content hiding */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .header-icons {
        display: none;
    }
}