:root {
    --primary: #2563eb;
    --secondary: #eff6ff;
    --dark: #0f172a;
    --light: #ffffff;
    --muted: #64748b;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(to bottom, #f8fbff, #eef5ff);
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: var(--light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
}

.logo {
    font-weight: 800;
    font-size: 22px;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-light {
    color: var(--primary);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* HERO */
.hero {
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text span {
    color: var(--primary);
}

.hero-stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* SERVICES */
.services {
    padding: 80px 0;
    text-align: center;
}

.service-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.price {
    display: block;
    font-size: 24px;
    margin: 15px 0;
    font-weight: 700;
    color: var(--primary);
}

/* HOW IT WORKS */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    margin-top: 40px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
}

/* FEATURES */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
}

/* CTA */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: var(--primary);
    color: white;
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
}

/* FOOTER */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 30px;
}

.footer a {
    color: #cbd5f5;
    display: block;
    margin-top: 8px;
    text-decoration: none;
}

copyright {
    text-align: center;
}



/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }

    .nav-actions {
        display: flex;
        gap: 10px;
    }
}

@media (max-width: 768px) {

    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 34px !important;
    }

    h2 {
        font-size: 26px;
    }

    p {
        font-size: 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .service-grid,
    .steps,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 20px;
    }

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

@media (max-width: 480px) {

    .logo {
        font-size: 18px;
    }

    .stat-card,
    .service-card,
    .step-card,
    .feature-card {
        padding: 20px;
    }

    .price {
        font-size: 22px;
    }
}




input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #dbe4ff;
    font-size: 14px;
}


:root {
    --primary:#2563eb;
    --dark:#0f172a;
    --muted:#64748b;
    --radius:16px;
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body {
    background:linear-gradient(to bottom,#f8fbff,#eef5ff);
}

/* HEADER */
.header {
    position:sticky;
    top:0;
    background:#fff;
    z-index:100;
    box-shadow:0 8px 30px rgba(0,0,0,0.05);
}

.nav {
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.container {
    max-width:1200px;
    margin:auto;
    padding:0 16px;
}

.logo {
    font-weight:800;
    font-size:22px;
}

nav a {
    margin:0 10px;
    text-decoration:none;
    color:var(--muted);
}

.nav-actions {
    display:flex;
    gap:10px;
}

.btn {
    padding:10px 18px;
    border-radius:var(--radius);
    text-decoration:none;
    font-weight:600;
}

.btn-primary {
    background:var(--primary);
    color:#fff;
}

.btn-light {
    color:var(--primary);
}

.btn-outline {
    border:2px solid var(--primary);
    color:var(--primary);
}

/* HERO */
.hero {
    padding:80px 0;
}

.hero-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.hero-text h1 {
    font-size:42px;
}

.hero-text span {
    color:var(--primary);
}

.hero-buttons {
    margin-top:20px;
    display:flex;
    gap:12px;
}

/* CARDS */
.stat-card,
.service-card,
.step-card {
    background:#fff;
    padding:25px;
    border-radius:var(--radius);
    box-shadow:0 15px 30px rgba(0,0,0,0.05);
}

.hero-stats {
    display:grid;
    gap:20px;
}

.services {
    padding:80px 0;
    text-align:center;
}

.service-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}

.price {
    display:block;
    font-size:22px;
    color:var(--primary);
    margin:10px 0;
}

.how-it-works {
    padding:80px 0;
}

.steps {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

/* FOOTER */
.footer {
    background:#0f172a;
    color:#fff;
    padding:50px 0 20px;
}

.footer a {
    color:#cbd5f5;
    display:block;
    margin-top:8px;
    text-decoration:none;
}

/* MOBILE */
.menu-toggle {
    display:none;
    font-size:26px;
    cursor:pointer;
}

.mobile-btn {
    display:none;
}

/* RESPONSIVE */
@media (max-width:900px) {
    .hero-grid {
        grid-template-columns:1fr;
        text-align:center;
    }

    nav {
        display:none;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        box-shadow:0 15px 30px rgba(0,0,0,0.1);
    }

    nav a {
        padding:14px;
        border-bottom:1px solid #eee;
    }

    .menu-toggle {
        display:block;
    }

    .nav-actions {
        display:none;
    }

    .mobile-btn {
        display:block;
        padding:14px;
        text-align:center;
    }

    .mobile-btn.primary {
        background:var(--primary);
        color:#fff;
    }

    .hero-buttons {
        flex-direction:column;
        align-items:center;
    }

    .btn {
        width:100%;
        max-width:260px;
    }
}


/* ================= HAMBURGER MENU ================= */

.menu-toggle {
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #0f172a;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Animate to 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);
}

/* MOBILE MENU */
@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 99;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
}



/* ==================================================
   GLOBAL MOBILE RESPONSIVE – ALL PAGES
================================================== */

/* -------- Base fixes -------- */
img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

input, select, textarea, button {
    font-size: 16px; /* iOS zoom fix */
}

/* -------- Containers -------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
}

/* -------- Header & Navigation -------- */
.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: #0f172a;
    border-radius: 4px;
    transition: 0.3s;
}

/* Hamburger animation */
.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);
}

/* -------- Mobile Nav -------- */
@media (max-width: 900px) {

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .mobile-btn {
        display: block;
        padding: 14px;
        text-align: center;
        font-weight: 600;
    }

    .mobile-btn.primary {
        background: var(--primary);
        color: #fff;
    }
}

/* -------- Hero -------- */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-text h1 {
        font-size: 32px;
    }
}

/* -------- Cards & Grids -------- */
@media (max-width: 768px) {
    .service-grid,
    .steps,
    .feature-grid,
    .dash-cards {
        grid-template-columns: 1fr !important;
    }

    .stat-card,
    .service-card,
    .step-card,
    .feature-card,
    .dash-card {
        padding: 20px;
    }
}

/* -------- Forms (login, register, contact, order) -------- */
@media (max-width: 600px) {
    form {
        width: 100%;
    }

    input,
    select,
    textarea,
    button {
        width: 100%;
    }
}

/* -------- Dashboard tables -------- */
@media (max-width: 768px) {
    .table-wrap {
        overflow-x: auto;
    }

    table {
        min-width: 600px;
    }
}

/* -------- Footer -------- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}


/* =====================================================
   GLOBAL HAMBURGER MENU (ALL PAGES – MOBILE)
===================================================== */

.menu-toggle {
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #0f172a;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Animate to 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);
}

/* MOBILE ONLY */
@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-actions {
        display: none;
    }

    .mobile-btn {
        display: block;
        padding: 14px;
        text-align: center;
        font-weight: 600;
    }

    .mobile-btn.primary {
        background: var(--primary);
        color: #fff;
    }
}

/* ================= CONTACT PAGE ================= */

.contact-card {
    max-width: 600px;
    margin: 40px auto 0;
    background: #fff;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #dbe4ff;
    font-size: 14px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.full-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.success-msg {
    background: #ecfdf5;
    color: #047857;
    padding: 14px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

/* MOBILE CONTACT FIX */
@media (max-width: 600px) {
    .contact-card {
        padding: 25px 20px;
    }
}

/* ================= BLOG PAGE ================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.blog-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.blog-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

/* MOBILE BLOG FIX */
@media (max-width: 600px) {
    .blog-card {
        padding: 22px 20px;
    }

    .blog-card h3 {
        font-size: 17px;
    }
}


.price-box {
    background: #f8fbff;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0;
}


.category-tabs {
  display:flex;
  gap:10px;
  margin-bottom:20px;
}
.category-tabs button {
  padding:10px 16px;
  border-radius:12px;
  border:none;
  background:#eef2ff;
  cursor:pointer;
  font-weight:600;
}
.category-tabs button.active {
  background:#2563eb;
  color:#fff;
}