﻿/* ===== Base ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #fff;
    color: #333;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    margin: 0;
}

a {
    text-decoration: none;
}

/* ===== Navbar (kept simple) ===== */

/* Navbar container */
/* Navbar default (transparent at top) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,132,209,0.95); /* Sky Blue */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: background 0.4s ease, box-shadow 0.4s ease;
    z-index: 1000;
}
.inner-page{
    margin-top:54px;
}
.home-page nav {
    background: transparent;
    box-shadow: none;
}

    .home-page nav.scrolled {
        background: rgba(0,132,209,0.95);
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }



    /* Logo */
    nav .logo img {
        height: 40px; /* adjust as needed */
        width: auto;
        display: block;
    }

/* Menu wrapper */
.menu {
    display: flex;
    align-items: center;
}

    /* Links with dreamy border */
    /* Menu links (buttons) */
    .menu a {
        margin: 0 12px;
        padding: 8px 18px;
        color: #fff; /* 👈 text always white */
        font-weight: 500;
        font-size: 1rem;
        position: relative;
        border-radius: 30px;
        transition: color 0.3s ease;
        z-index: 1;
        text-decoration: none;
        border: 2px solid transparent; /* border placeholder */
    }

        /* Animated border effect */
        .menu a::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 30px;
            padding: 2px;
            background: linear-gradient(270deg, #0084D1, #00c6ff, #7f7fff, #0084D1);
            background-size: 600% 600%;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        /* On hover: animate border only */
        .menu a:hover::before {
            opacity: 1;
            animation: dreamyBorder 4s linear infinite;
        }

/* Gradient flow keyframes */
@keyframes dreamyBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Keyframes for flowing gradient */
@keyframes dreamyBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

    .menu-toggle span {
        height: 3px;
        width: 25px;
        background: #fff;
        margin: 4px 0;
        border-radius: 2px;
        transition: all 0.4s ease;
    }

    /* Animate into X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 220px;
        border-radius: 12px;
        padding: 0;
        background: rgba(0,132,209,0.95); /* sky blue */
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
        /* animation base */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.5s ease;
    }

        .menu.show {
            max-height: 400px; /* enough to fit links */
            opacity: 1;
        }

        .menu a {
            padding: 12px;
            text-align: center;
            color: #fff;
            font-weight: 500;
        }

            .menu a:hover {
               /* background: rgba(255,255,255,0.1);*/
                border-radius: 8px;
            }

    .menu-toggle {
        display: flex;
    }
}




/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

    .hero h1 {
        font-size: 2.8rem;
        font-weight: 800;
        color: #222;
    }

    .hero p {
        font-size: 1.15rem;
        color: #555;
        margin-top: 10px;
    }

.btn-row {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .3s ease, background .2s ease, color .2s ease, border-color .2s ease;

}

.btn-primary {
    background: #0084D1;
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        background: #006FAF;
        transform: translateY(-1px);
    }

.btn-secondary {
    background: #fff;
    color: #0084D1;
    border: 2px solid #0084D1;
}

    .btn-secondary:hover {
        background: #0084D1;
        color: #fff;
        transform: translateY(-1px);
    }

/* ===== Waves (multi-layer floating) ===== */
.wave-group {
    position: absolute;
    width: 100%;
    height: 160px;
    z-index: -1;
    left: 0;
}

.wave-top {
    top: 0;
    transform: rotate(180deg);
}

.wave-bottom {
    bottom: 0;
}

.wave-group use {
    animation: waveMove 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .wave-group use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
        opacity: 0.6;
    }

    .wave-group use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
        opacity: 0.4;
    }

    .wave-group use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
        opacity: 0.2;
    }

@keyframes waveMove {
    0% {
        transform: translate3d(-90px,0,0);
    }

    100% {
        transform: translate3d(85px,0,0);
    }
}


/* ===== Sections ===== */
section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.shop {
    background: #F5F5F5;
}

.services {
    background: #fff;
}

.testimonials {
    background: #F5F5F5;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, #0084D1, #006FAF);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

    .cta h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .cta .cta-btn {
        background: #fff;
        color: #0084D1;
        border: none;
        padding: 14px 32px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .cta .cta-btn:hover {
            background: #f0f0f0;
            color: #006FAF;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }


/* ===== Shop Section ===== */
.shop {
    background: #f5faff;
    padding: 80px 20px;
}

    .shop .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: #0084D1;
        margin-bottom: 10px;
    }

    .shop .section-subtitle {
        color: #555;
        margin-bottom: 40px;
        font-size: 1rem;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }

    .product-card img {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .product-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }

    .product-card p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 12px;
    }

    .product-card .price {
        font-weight: 700;
        color: #0084D1;
        display: block;
        margin-bottom: 15px;
    }

.buy-btn {
    background: #0084D1;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .buy-btn:hover {
        background: #006faf;
        transform: scale(1.05);
    }

/* View All Button */
.view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #0084D1;
    padding: 12px 30px;
    border-radius: 8px;
    color: #0084D1;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .view-all-btn:hover {
        background: #0084D1;
        color: #fff;
        transform: translateY(-2px);
    }


/* Services Section */
/* Section shell stays the same */
/* === Section Heading === */
/*.services h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0084D1;
    margin-bottom: 10px;
}*/

/*    .services h2::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #0084D1, #00c6ff);
        border-radius: 2px;
    }*/

/* === Service Cards === */
/* ========== Our Services (full) ========== */

/* Section shell */
.services {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

    /* Title with gradient accent */
    .services h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #0084D1;
        margin-bottom: 10px;
    }

       /* .services h2::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 72px;
            height: 3px;
            background: linear-gradient(90deg,#0084D1,#00c6ff);
            border-radius: 2px;
        }*/

/* Grid */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 34px;
    justify-content: center;
}

/* Card with depth + room for floating icon */
.service {
    position: relative;
    background: #fff; /* white card for contrast */
    padding: 84px 26px 36px; /* extra top space for icon */
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: visible; /* let icon overflow upward */
}

    .service:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 30px rgba(0,0,0,.12);
    }

/* Floating circular icon (50% out / 50% in) */
.icon-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -55px; /* half the height of circle (110px) */
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
    z-index: 2;
}

/* Use ONE of these inside .icon-wrap */

/* If using an image */
.icon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.15));
}

/* If using an emoji icon (alternative to image) */
.icon-emoji {
    font-size: 44px;
    line-height: 1;
    color: #fff;
}

/* Smooth “cap” that rounds the card under the icon */
.service::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 120px;
    height: 60px; /* half of icon circle height */
    background: #fff; /* same as card BG */
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    z-index: 1;
}

/* Animated gradient border on hover (dreamy) */
.service::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(270deg,#0084D1,#00c6ff,#7f7fff,#0084D1);
    background-size: 600% 600%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
    animation: borderFlow 6s linear infinite;
    transition: opacity .35s ease;
}

.service:hover::before {
    opacity: 1;
    animation: borderFlow 6s linear infinite;
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Card title */
.service h3 {
    margin-top: 26px; /* clears the cap area */
    font-size: 1.18rem;
    font-weight: 600;
    color: #2b2b2b;
}

/* CTA button (standard + polished) */
.query-btn {
    margin-top: 42px;
    padding: 14px 32px;
    border: none;
    background: linear-gradient(135deg,#0084D1,#00b2ff);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    transition: transform .3s ease, box-shadow .25s ease;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
}

    .query-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,.22);
    }

/* Responsive tweaks */
@media (max-width:640px) {
    .icon-wrap {
        width: 96px;
        height: 96px;
        top: -48px;
    }

    .service {
        padding-top: 76px;
    }

        .service::after {
            width: 104px;
            height: 52px;
            border-bottom-left-radius: 52px;
            border-bottom-right-radius: 52px;
        }

    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 46px;
    }
}
/* ===== Testimonials ===== */
.testimonials {
    background: linear-gradient(180deg,#f6f8fb 0%,#ffffff 100%);
    padding: 90px 20px;
}

    .testimonials .container {
        max-width: 1100px;
        margin: 0 auto
    }

.t-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2b44;
    letter-spacing: .2px;
    margin-bottom: 34px
}

/* Slider shell */
.t-slider {
    position: relative
}

.t-viewport {
    overflow: hidden;
    border-radius: 18px
}

.t-track {
    display: flex;
    transition: transform .5s ease;
    padding: 10px
}

/* Slide card */
.t-card {
    min-width: 100%;
    padding: 26px 26px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}

.t-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    border: 3px solid #e8f1ff
}

.t-head {
    display: flex;
    align-items: center;
    gap: 12px
}

.t-name {
    font-weight: 800;
    margin: 0;
    color: #0b2b44
}

.t-meta {
    margin: 0;
    color: #6b7a90;
    font-size: .95rem
}

.t-quote {
    grid-column: 1 / -1;
    margin-top: 2px;
    font-size: 1.075rem;
    line-height: 1.7;
    color: #233142
}

    .t-quote:before {
        content: "“";
        font-size: 2.4rem;
        line-height: 0;
        color: #0084D1;
        margin-right: 6px;
        vertical-align: -4px
    }

.t-stars {
    color: #f4b400;
    font-size: .95rem
}

    .t-stars .fa-star {
        margin-right: 2px
    }

/* Arrows */
.t-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    color: #0084D1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    z-index: 2
}

    .t-arrow:hover {
        transform: translateY(-50%) scale(1.03)
    }

.t-prev {
    left: -14px
}

.t-next {
    right: -14px
}

@media (max-width:991.98px) {
    .t-prev {
        left: 6px
    }

    .t-next {
        right: 6px
    }
}

/* Dots with avatars */
.t-dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px
}

.t-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,.08)
}

    .t-dot img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .t-dot.active {
        border-color: #0084D1
    }
/* Viewport stays clipped */
.t-viewport {
    overflow: hidden;
    border-radius: 18px;
}

/* Track: no padding; translate the whole row */
.t-track {
    display: flex;
    gap: 0; /* no gaps to avoid calc issues */
    padding: 0; /* <— important: remove padding from the track */
    transition: transform .5s ease;
    will-change: transform;
}

/* Each slide is exactly one viewport width */
.t-card {
    flex: 0 0 100%; /* <— one full viewport inside .t-viewport */
    min-width: 100%;
}

/* Small motion */
@media (prefers-reduced-motion:no-preference) {
    .t-card {
        animation: fadeUp .45s ease both
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(10px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }
}

/* Fade animation */
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Footer ===== */
footer {
    background: #0084D1;
    color: #fff;
    text-align: center;
    padding: 22px;
}

    footer a {
        color: #fff;
        text-decoration: underline;
    }

/* ===== Reveal-on-scroll (simple & reliable) ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s ease;
    will-change: opacity, transform;
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Optional stagger helpers */
.delay-1 {
    transition-delay: .12s;
}

.delay-2 {
    transition-delay: .24s;
}

.delay-3 {
    transition-delay: .36s;
}
.cart-link {
    position: relative;
}

.cart-badge {
    display: inline-block;
    min-width: 1.25rem;
    padding: 0 .4rem;
    margin-left: .35rem;
    border-radius: 1rem;
    font-size: .75rem;
    line-height: 1.25rem;
    text-align: center;
    color: #fff;
    background: #dc3545;
}


@media (max-width: 768px) {
    

        
}
/* Make cart icon white */
nav .cart-icon a i {
    color: #fff; /* white icon */
}

/* Adjust badge to stand out */
nav .cart-icon .cart-badge {
    background-color: #dc3545; /* red */
    color: #fff; /* white text */
}

/* Optional: hover effect */
nav .cart-icon a:hover i {
    color: #f8f9fa; /* lighter white on hover */
}
