*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    background:#f8fafc;
    color:#111827;
    line-height:1.6;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* =========================
   HEADER / NAVBAR
========================= */
.mlm-header{
    position:sticky;
    top:0;
    z-index:9999;
    background:#0f172a;
    box-shadow:0 4px 18px rgba(0,0,0,0.18);
}

.mlm-nav-wrap{
    max-width:1280px;
    margin:0 auto;
    min-height:78px;
    padding:10px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.mlm-brand{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.mlm-brand-logo{
    height:58px;
    width:auto;
    object-fit:contain;
    background:#ffffff;
    border-radius:10px;
    padding:4px;
    max-height:58px;
}

.mlm-brand-text{
    color:#ffffff;
    font-size:22px;
    font-weight:700;
    line-height:1.2;
}

.mlm-menu-toggle{
    display:none;
    background:none;
    border:none;
    color:#ffffff;
    font-size:30px;
    cursor:pointer;
    padding:6px 10px;
}

.mlm-nav{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.mlm-nav > a,
.mlm-dropbtn{
    color:#ffffff;
    background:none;
    border:none;
    font-size:15px;
    font-weight:600;
    padding:10px 14px;
    border-radius:10px;
    cursor:pointer;
    transition:0.25s ease;
}

.mlm-nav > a:hover,
.mlm-dropbtn:hover{
    background:#1e293b;
    color:#22d3ee;
}

.mlm-contact-btn{
    background:#2563eb !important;
    color:#ffffff !important;
}

.mlm-contact-btn:hover{
    background:#1d4ed8 !important;
    color:#ffffff !important;
}

.mlm-dropdown{
    position:relative;
}

.mlm-dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:210px;
    background:#ffffff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.18);
    z-index:999;
}

.mlm-dropdown-menu a{
    display:block;
    padding:12px 14px;
    color:#111827;
    font-size:14px;
    border-bottom:1px solid #f1f5f9;
    background:#ffffff;
}

.mlm-dropdown-menu a:hover{
    background:#eff6ff;
    color:#2563eb;
}

.mlm-dropdown:hover .mlm-dropdown-menu{
    display:block;
}

/* =========================
   HERO / SLIDER
========================= */
.slider,
.hero-slider{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#0f172a,#1d4ed8,#0ea5e9);
    color:#ffffff;
    padding:100px 20px;
    text-align:center;
}

.slide{
    display:none;
    max-width:1000px;
    margin:0 auto;
    animation:fadeIn 0.6s ease;
}

.slide.active{
    display:block;
}

.slide h1{
    font-size:48px;
    line-height:1.2;
    margin-bottom:18px;
    font-weight:800;
}

.slide p{
    font-size:18px;
    color:#e2e8f0;
    margin-bottom:28px;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.slider-dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:20px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,0.35);
    transition:0.3s;
}

.dot.active{
    background:#ffffff;
    transform:scale(1.12);
}

/* =========================
   BUTTONS
========================= */
.btn{
    display:inline-block;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    color:#ffffff;
    padding:13px 24px;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s ease;
    box-shadow:0 10px 22px rgba(34,197,94,0.25);
}

.btn:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 28px rgba(34,197,94,0.3);
}

/* =========================
   COMMON LAYOUT
========================= */
.container,
.section{
    max-width:1200px;
    margin:0 auto;
    padding:70px 20px 0;
    text-align:center;
}

.container h2,
.section-title h2{
    font-size:34px;
    color:#0f172a;
    margin-bottom:12px;
}

.section-title{
    text-align:center;
    margin-bottom:36px;
}

.section-title p{
    max-width:720px;
    margin:0 auto;
    color:#64748b;
    font-size:15px;
    line-height:1.7;
}

/* =========================
   CARD SECTION
========================= */
.card{
    background:#ffffff;
    display:inline-block;
    width:250px;
    margin:20px;
    padding:24px 20px;
    border-radius:20px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 28px rgba(15,23,42,0.05);
    transition:0.3s ease;
    vertical-align:top;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 36px rgba(15,23,42,0.08);
}

.card h3{
    font-size:22px;
    margin-bottom:10px;
    color:#111827;
}

.card p{
    color:#6b7280;
    font-size:15px;
    line-height:1.7;
}

/* =========================
   COUNTER SECTION
========================= */
.counter-section{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:22px;
    background:linear-gradient(135deg,#111827,#1f2937);
    color:#ffffff;
    padding:55px 20px;
}

.counter-box{
    min-width:220px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:20px;
    padding:24px 20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.counter-box h2{
    font-size:40px;
    color:#22d3ee;
    margin-bottom:8px;
    font-weight:800;
}

.counter-box p{
    font-size:15px;
    color:#e5e7eb;
    font-weight:600;
}

/* =========================
   FORM SECTION
========================= */
.form-container{
    width:100%;
    max-width:430px;
    margin:60px auto;
    background:#ffffff;
    padding:32px 28px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(15,23,42,0.08);
    border:1px solid #e5e7eb;
}

.form-container h2{
    text-align:center;
    margin-bottom:20px;
    font-size:28px;
    color:#111827;
}

.form-container input,
.form-container select,
.form-container textarea{
    display:block;
    width:100%;
    padding:14px 14px;
    margin:12px 0;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
    outline:none;
    transition:0.3s ease;
    background:#ffffff;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,0.12);
}

.form-container button{
    width:100%;
    padding:14px;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    border:none;
    color:#ffffff;
    font-size:17px;
    font-weight:700;
    border-radius:12px;
    cursor:pointer;
    transition:0.3s ease;
    margin-top:8px;
}

.form-container button:hover{
    transform:translateY(-2px);
}

/* =========================
   REGISTER BOX
========================= */
.register-bg{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0f172a,#1d4ed8,#0ea5e9);
    padding:20px;
}

.register-box{
    background:#ffffff;
    padding:36px 28px;
    width:100%;
    max-width:390px;
    border-radius:22px;
    box-shadow:0 18px 40px rgba(0,0,0,0.16);
    text-align:center;
    border:1px solid #e5e7eb;
}

.register-box h2{
    margin-bottom:20px;
    font-size:28px;
    color:#111827;
}

.input-box{
    margin:14px 0;
    text-align:left;
}

.input-box input,
.input-box select{
    width:100%;
    padding:14px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
    outline:none;
    transition:0.3s ease;
    background:#ffffff;
}

.input-box input:focus,
.input-box select:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,0.12);
}

.register-btn{
    width:100%;
    padding:14px;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    border:none;
    color:#ffffff;
    font-size:17px;
    font-weight:700;
    border-radius:12px;
    cursor:pointer;
    transition:0.3s ease;
}

.register-btn:hover{
    transform:translateY(-2px);
}

.login-link{
    margin-top:16px;
    font-size:14px;
    color:#6b7280;
}

.login-link a{
    color:#1d4ed8;
    font-weight:700;
}

/* =========================
   FOOTER
========================= */
footer{
    background:#0f172a;
    color:#ffffff;
    padding:24px 15px;
    text-align:center;
    margin-top:60px;
    font-size:14px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){
    .mlm-menu-toggle{
        display:block;
    }

    .mlm-nav{
        display:none;
        width:100%;
        flex-direction:column;
        align-items:stretch;
        margin-top:12px;
        background:#0f172a;
        padding:8px 0;
        border-top:1px solid rgba(255,255,255,0.08);
    }

    .mlm-nav.mlm-nav-open{
        display:flex;
    }

    .mlm-nav > a,
    .mlm-dropbtn{
        width:100%;
        text-align:left;
    }

    .mlm-dropdown{
        width:100%;
    }

    .mlm-dropdown-menu{
        position:static;
        display:none;
        min-width:100%;
        box-shadow:none;
        border-radius:0;
        background:#111827;
    }

    .mlm-dropdown-menu a{
        background:#111827;
        color:#ffffff;
        padding-left:28px;
        border-bottom:1px solid rgba(255,255,255,0.06);
    }

    .mlm-dropdown-menu a:hover{
        background:#1e293b;
        color:#22d3ee;
    }

    .mlm-dropdown:hover .mlm-dropdown-menu{
        display:none;
    }

    .mlm-dropdown.mlm-dropdown-open .mlm-dropdown-menu{
        display:block;
    }

    .mlm-brand-logo{
        height:40px;
        max-height:40px;
        padding:3px;
    }

    .mlm-brand-text{
        font-size:17px;
    }

    .slide h1{
        font-size:30px;
    }

    .slide p{
        font-size:16px;
    }

    .card{
        width:100%;
        margin:12px 0;
    }

    .counter-box{
        width:100%;
        max-width:320px;
    }

    .form-container{
        margin:30px auto;
        padding:24px 18px;
    }

    .register-box{
        padding:28px 20px;
    }
}

@media(max-width:520px){
    .mlm-nav-wrap{
        padding:8px 12px;
        min-height:62px;
    }

    .mlm-brand{
        gap:8px;
        max-width:75%;
    }

    .mlm-brand-logo{
        height:32px;
        max-height:32px;
        padding:2px;
        border-radius:6px;
    }

    .mlm-brand-text{
        font-size:14px;
        line-height:1.1;
    }

    .mlm-menu-toggle{
        font-size:26px;
        padding:4px 8px;
    }

    .slide h1{
        font-size:26px;
    }

    .slide p{
        font-size:15px;
    }

    .btn{
        width:100%;
        max-width:240px;
    }

    .container,
    .section{
        padding:55px 14px 0;
    }

    .form-container h2,
    .register-box h2{
        font-size:24px;
    }
}
/* =========================
   PRODUCTS FINAL FIX
========================= */
.products-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    align-items:stretch;
}

.product-card{
    width:calc(25% - 18px);
    display:flex;
    flex-direction:column;
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.15);
    overflow:hidden;
    transition:0.3s;
    margin:0;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-img{
    width:100%;
    height:220px;
    object-fit:contain;
    background:#ffffff;
    padding:12px;
}

.no-img{
    width:100%;
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eee;
}

.content{
    padding:15px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.title{
    min-height:50px;
}

.details{
    min-height:65px;
}

.btn{
    margin-top:auto;
}

@media(max-width:1100px){
    .product-card{
        width:calc(33.33% - 16px);
    }
}

@media(max-width:800px){
    .product-card{
        width:calc(50% - 12px);
    }
}

@media(max-width:520px){
    .product-card{
        width:100%;
    }
}