.header{
    display:flex;
    background: linear-gradient(90deg, #1e88e5, #2ecc71);
    flex-direction: row;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:1000;
}
.header-top {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    max-width: 1200px;
    margin: auto;
    width:100%;
}
/* LOGO */
.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* BACK BUTTON */
.back-btn a {
    text-decoration: none;
    color: #0a7cff;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.back-btn a:hover {
    background: #eaf3ff;
}
.category-bar{
    overflow-x: auto;   /* allows scrolling if too many items */
    white-space: nowrap;
    align-items: center;
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin: auto;

    overflow-x: auto;
    white-space: nowrap;

    scrollbar-width: none;
}
.logo img{
    max-width:100%;
    height:auto;
}
.header-top {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    max-width: 1200px;
    margin: auto;
}
.category-bar::-webkit-scrollbar {
    display: none; /* Chrome */
}
.category-bar a {
    flex: 0 0 auto;
    text-decoration: none;
    color: #333;
    background: #f4f6f8;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s ease;
}

.category-bar a:hover {
    background: #0a7cff;
    color: #fff;
}
.category-bar {
    scrollbar-width: none; /* Firefox */
}

.category-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* LOGO */
.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* BACK BUTTON */
.back-btn a {
    text-decoration: none;
    color: #0a7cff;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.back-btn a:hover {
    background: #eaf3ff;
}
.container {
    max-width: 1300px;
    margin: auto;
    padding: 20px;
}
/* Prevent overflow */
.header{
    max-width: 100%;
    overflow-x: hidden;
}

/* LOGO */
.header .logo img{
    height:40px;
    background:#fff;
    padding:3px 6px;
    border-radius:8px;
}

/* NAV */
.nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 25px;
    width: 100%;
}
 .nav a{
    background:#fff;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid #2ecc71;
    transition: 0.3s ease;
    font-weight: 500;
}
.nav a:hover{
    background: linear-gradient#ffffff;
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
@media (max-width:768px){
    .nav{
        flex-wrap:wrap;
        gap:8px;
    }

    .nav a{
        font-size:13px;
        padding:6px 10px;
    }
}
/* SOCIAL */
.social{
    display:flex;
   flex-direction: row;
    gap: 5px;
    margin-left: 5px;
}
.social a{
        width: 24px;
        height: 24px;

        font-size: 12px;
    }

    /* CATEGORY BAR */
    .top-categories{
        padding: 6px 8px;
    }

    .top-categories a{
        padding: 5px 10px;
        font-size: 12px;
    }

    /* BODY SPACE */
    body{
    margin:0;
    padding:0;
}
    .nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 12px;
    width: 100%;
}

.nav a{
    background: #1e88e5;   /* BLUE card */
    color: #fff;           /* WHITE text */
    text-decoration: none;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 20px;
    transition: 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
}

.nav a:hover{
    background: linear-gradient(90deg, #1e88e5, #2ecc71);
    color:#fff;
    transform: translateY(-2px);
}
.category-bar{
    display:flex;
    justify-content:center;
    gap: 15px;
    padding: 10px;
    background:  rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.category-bar a{
    background: #fff;
    color: #1e88e5;
    text-decoration: none;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid #2ecc71;
    transition: 0.3s ease;
    font-weight: 500;
}

.category-bar a:hover{
    background: linear-gradient(90deg, #1e88e5, #2ecc71);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
@media (max-width:768px){
    .category-bar a{
        font-size: 13px;
        padding: 6px 10px;
        border-radius: 15px;
    }
}

.container{
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.container h2{
    font-size:22px;
    margin-bottom:20px;
    color:#222;
}
.success{
    background:#e7f8ee;
    color:#1a7f4b;
    padding:10px;
    border-radius:6px;
    margin-bottom:15px;
    font-size:14px;
}
.card{
    display:flex;
    align-items:center;
    gap:15px;
    background:#fff;
    padding:12px;
    border-radius:10px;
    border:1px solid #eee;
    margin-bottom:12px;
    transition:0.3s;
}

.card:hover{
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
}
.card img{
    width:80px;
    height:80px;
    object-fit:contain;
    border-radius:8px;
    background:#fafafa;
    border:1px solid #eee;
}
.card h3{
    font-size:16px;
    color:#0a7cff;
    margin:0;
}

.card p{
    font-size:14px;
    margin:4px 0;
    color:#555;
}
.card input{
    width:60px;
    padding:6px;
    border-radius:6px;
    border:1px solid #ccc;
}

/* ALL buttons unified */
.btn{
    display:inline-block;
    padding:10px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    border:none;
    cursor:pointer;
    transition:0.3s;
    background:#0a7cff;
    color:#fff;
}

.btn:hover{
    background:#005fd1;
}

.continue-btn{
    background:#777;
}

.continue-btn:hover{
    background:#555;
}
.container h3{
    text-align:right;
    margin-top:20px;
    font-size:18px;
    color:#222;
}
@media (max-width:768px){

    .nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }

    .category-bar{
        flex-wrap:wrap;
        font-size:13px;
    }

    .card{
        flex-direction:column;
        align-items:flex-start;
    }

    .card img{
        width:100%;
        max-width:120px;
        height:auto;
    }

    .container{
        padding:15px;
    }

    .container h3{
        text-align:left;
    }
}
@media (max-width: 768px){

    .header-top{
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .nav{
        gap: 10px;
    }

    .category-bar{
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
    }

    .category-bar a{
        padding: 5px 8px;
    }
}