@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --accent: #6c5ce7;
    --accent2: #0ea5a0;
    --bg1: #f6f7fb;
    --bg2: #eef0f8;
    --card: #ffffff;
    --border: #e6e8f0;
    --input-bg: #f7f8fc;
    --text: #1f2333;
    --muted: #6b7086;
    --success: #059669;
    --danger: #dc2626;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    min-height: 100vh;
    background: var(--bg1);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .brand-text, .name, .product-headline, .section-title {
    font-family: 'Poppins', 'Inter', sans-serif;
}

img { max-width: 100%; }

.wrap { max-width: 480px; margin: 0 auto; padding: 20px 16px 50px; }
.wrap-wide { max-width: 900px; margin: 0 auto; padding: 20px 16px 50px; }

/* Desktop: wider, more breathing room */
@media (min-width: 700px) {
    .wrap { max-width: 620px; padding-top: 36px; }
    .wrap-wide { max-width: 1040px; }
    .glass { padding: 32px 36px; }
}
@media (min-width: 1100px) {
    .wrap { max-width: 720px; }
}

a { color: inherit; }

.topbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; font-size: 14px; gap: 10px;
}
.brand { font-weight: 800; font-size: 19px; letter-spacing: -0.5px; display: flex; align-items: center; }
.brand span { color: var(--accent2); }
.brand-logo { height: 32px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.brand-text { font-weight: 800; font-size: 19px; letter-spacing: -0.5px; }
.brand-text span { color: var(--accent2); }

.glass {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(20,20,50,0.03), 0 8px 24px rgba(20,20,50,0.05);
}

.hero-photo {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; display: block; margin: 0 auto 12px;
    border: 4px solid var(--card);
}
.hero-fallback {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 38px; font-weight: 700; margin: 0 auto 12px;
    border: 4px solid var(--card);
}

h1.name { font-size: 21px; text-align: center; margin-bottom: 2px; word-break: break-word; }
.designation { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 2px; }
.company { text-align: center; color: var(--accent); font-weight: 700; font-size: 14.5px; margin-bottom: 14px; }

.about { color: var(--muted); font-size: 14px; line-height: 1.65; text-align: center; margin-bottom: 4px; }

.event-tag {
    background: #f1eefd; border: 1px solid #ded7fb;
    color: #4c3fb0; font-size: 13px; border-radius: 12px; padding: 10px 14px; margin: 14px 0; text-align: left;
}
.event-tag svg { vertical-align: -2px; margin-right: 4px; }

.btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; text-align: center;
    padding: 13px 18px; border-radius: 999px; text-decoration: none;
    font-weight: 700; font-size: 14.5px; margin-bottom: 10px; border: none; cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
    white-space: normal; line-height: 1.3;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff; box-shadow: 0 8px 22px rgba(108,92,231,0.35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(108,92,231,0.48); transform: translateY(-2px); }
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c4a);
    color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { box-shadow: 0 12px 30px rgba(37,211,102,0.48); transform: translateY(-2px); }
.btn-outline {
    background: #f6f4ff; color: var(--accent); border: 1.5px solid #e4defc;
    box-shadow: 0 4px 14px rgba(108,92,231,0.1);
}
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(108,92,231,0.35); }
.btn-sm { padding: 9px 14px; font-size: 13px; display: inline-flex; width: auto; margin-bottom: 0; }
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn .icon { margin-right: 7px; }

/* Header logo — keeps the uploaded image's real look, never force-cropped into a circle */
.site-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; flex-shrink: 0; }

.social-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.social-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--input-bg); border: 1px solid var(--border);
    transition: transform .15s ease;
}
.social-icon:hover { transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; fill: var(--text); }

.section-title { font-size: 16px; font-weight: 700; margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.section-title .icon { color: var(--accent); }

.product-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden; margin-bottom: 14px;
}
.product-image-wrap { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--input-bg); display: flex; align-items: center; justify-content: center; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; box-sizing: border-box; }
.product-image-wrap .img-placeholder { height: 100%; border: none; border-radius: 0; }
.product-badge {
    width: 52px; height: 52px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 16px 0 -4px 15px; box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.product-body { padding: 15px; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent2); font-weight: 700; margin-bottom: 4px; }
.product-headline { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.product-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 110px; }

.testimonial-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 20px; margin-bottom: 12px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.testimonial-card:hover {
    box-shadow: 0 0 0 1px rgba(108,92,231,0.25), 0 16px 40px rgba(108,92,231,0.22);
    transform: translateY(-3px); border-color: rgba(108,92,231,0.35);
}

/* Mobile: Testimonials + Gallery become a horizontal swipe slider instead of
   stacking one under another. */
@media (max-width: 859px) {
    #testimonials .items-grid,
    #gallery .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding: 4px 4px 10px;
        margin: 0 -4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #testimonials .items-grid::-webkit-scrollbar,
    #gallery .gallery-grid::-webkit-scrollbar { display: none; }
    #testimonials .items-grid .testimonial-card {
        flex: 0 0 84%;
        scroll-snap-align: center;
        margin-bottom: 0;
    }
    #gallery .gallery-grid .gallery-item {
        flex: 0 0 78%;
        scroll-snap-align: center;
    }
}
.stars { color: #f5a524; margin-bottom: 6px; display: flex; gap: 2px; }
.t-msg { font-size: 14px; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.t-name { font-size: 13px; color: var(--muted); font-weight: 600; }

.footer-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 24px; }

.links { margin-top: 14px; }
.links a { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; text-decoration: none; }

/* Contact info items — icon badge + text, used in the Contact Us section */
.contact-info-item {
    display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
    background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px;
    font-size: 14px; font-weight: 600; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-info-item:hover { box-shadow: 0 10px 26px rgba(108,92,231,0.16); transform: translateY(-2px); border-color: rgba(108,92,231,0.3); }
.contact-info-item .icon-badge {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; color: #fff;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* Forms */
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 600; }
input[type=text], input[type=tel], input[type=email], input[type=url], input[type=password], input[type=file], textarea, select {
    width: 100%; padding: 11px 13px; border-radius: 11px;
    border: 1px solid var(--border); background: var(--input-bg);
    color: var(--text); font-size: 15px; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea { resize: vertical; min-height: 90px; }
.hint { color: var(--muted); font-size: 12px; margin-top: 5px; }
.alert { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.success { background: #ecfdf5; border: 1px solid #a7f3d0; color: var(--success); padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
h2 { font-size: 19px; margin-bottom: 4px; }
.subtitle { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
td, th { padding: 10px 6px; border-bottom: 1px solid var(--border); text-align: left; }
a.small-link { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; }

.copy-box { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-box input { flex: 1; min-width: 0; }
.copy-box button { padding: 0 16px; border-radius: 11px; border: none; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; flex-shrink: 0; }
#qr { background: #fff; padding: 12px; border-radius: 14px; display: inline-block; margin: 14px 0; border: 1px solid var(--border); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .grid-2 { grid-template-columns: 1fr; } }

.item-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); gap: 10px; }
.item-row:last-child { border-bottom: none; }
.item-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.item-actions a, .item-actions button { color: var(--muted); }

/* ============ Drag-and-drop reorder (dashboard lists) ============ */
.drag-handle { display: inline-flex; color: var(--muted); cursor: grab; flex-shrink: 0; }
.drag-handle:active { cursor: grabbing; }
.reorder-list [draggable="true"] { cursor: grab; background: var(--card); transition: opacity .15s ease; }
.reorder-list [draggable="true"].dragging { opacity: .35; }
.reorder-list.gallery-admin-grid [draggable="true"] { cursor: grab; }

.scan-box {
    border: 2px dashed var(--border); border-radius: 16px; padding: 22px;
    text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 16px;
}
.scan-box .icon { color: var(--accent); }

/* ============ Dashboard app shell (hamburger drawer on mobile, sidebar on desktop) ============ */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }

.mobile-topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 30;
}
.mobile-topbar .brand { flex: 1; justify-content: center; }
.hamburger { background: none; border: none; cursor: pointer; color: var(--text); padding: 4px; display: flex; }
.sidebar-close, .sidebar-logout { display: none; }

.sidebar-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(15,17,26,0.45);
    z-index: 40; opacity: 0; transition: opacity .2s ease;
}
.sidebar-backdrop.open { display: block; opacity: 1; }

.sidebar {
    position: fixed; top: 0; left: 0; width: 270px; height: 100vh; z-index: 50;
    background: var(--card); border-right: 1px solid var(--border);
    padding: 18px 16px; overflow-y: auto;
    transform: translateX(-100%); transition: transform .25s ease;
}
.sidebar.open { transform: translateX(0); }
.sidebar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 10px; white-space: nowrap;
    padding: 11px 13px; border-radius: 10px; text-decoration: none;
    color: var(--muted); font-weight: 600; font-size: 14px;
}
.sidebar-nav a svg { flex-shrink: 0; }
.sidebar-nav a.active { background: var(--accent); color: #fff; }
.sidebar-nav a:hover:not(.active) { background: var(--input-bg); color: var(--text); }
.app-main { flex: 1; min-width: 0; }

@media (min-width: 900px) {
    .app-shell { flex-direction: row; }
    .mobile-topbar { display: none; }
    .sidebar-backdrop { display: none !important; }
    .sidebar {
        position: sticky; transform: none; width: 240px; height: 100vh; top: 0; align-self: flex-start;
    }
    .sidebar-close { display: none; }
    .sidebar-logout { display: flex; }
    .app-main .wrap { max-width: 640px; margin: 0; padding: 40px; }
    .dash-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
    .dash-split .preview-pane { position: sticky; top: 40px; }
}
@media (max-width: 899px) {
    .sidebar-close { display: flex; }
}
@media (min-width: 1250px) {
    .app-main .wrap { max-width: 760px; }
}

/* ============ Cover photo ============ */
.cover-wrap { position: relative; margin: -22px -18px 0; border-radius: 18px 18px 0 0; overflow: hidden; height: 110px; background: var(--input-bg); }
@media (min-width: 700px) { .cover-wrap { margin: -32px -36px 0; height: 160px; } }
.cover-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-empty { width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent), var(--accent2)); opacity: 0.85; }
.hero-photo, .hero-fallback { position: relative; margin-top: -46px; }

/* Preview card used in dashboard editors */
.preview-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); font-weight: 700; margin-bottom: 10px; }

.upload-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upload-row input[type=file] { flex: 1; min-width: 180px; }
.upload-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.upload-thumb-round { border-radius: 50%; }

/* ============ Mobile hardening ============ */
@media (max-width: 480px) {
    .wrap { padding: 16px 14px 40px; }
    .glass { padding: 18px 15px; border-radius: 16px; }
    h1.name { font-size: 19px; }
    .btn { font-size: 14px; padding: 12px 14px; }
    table { font-size: 13px; }
    td, th { padding: 8px 4px; }
    .product-actions .btn { min-width: 100px; font-size: 13px; }
}

/* ============ Landing page: header / nav ============ */
.site-header {
    position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.site-header-inner {
    max-width: 1100px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-nav { display: none; gap: 22px; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
@media (min-width: 860px) { .site-nav { display: flex; } }
.site-header .btn { width: auto; margin-bottom: 0; padding: 10px 18px; font-size: 13.5px; }

/* Mobile nav toggle (hamburger) for the public landing-page header */
.site-nav-toggle {
    display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text); cursor: pointer;
}
@media (min-width: 860px) { .site-nav-toggle { display: none; } }
.site-mobile-nav {
    display: none; flex-direction: column; gap: 2px; background: var(--card); border-bottom: 1px solid var(--border);
    padding: 10px 20px 16px;
}
.site-mobile-nav.open { display: flex; }
.site-mobile-nav a {
    padding: 12px 4px; font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none;
    border-bottom: 1px solid var(--border);
}
.site-mobile-nav a:last-child { border-bottom: none; }
@media (min-width: 860px) { .site-mobile-nav { display: none !important; } }

/* ============ Hero — dark, premium, two-column (content one side, image other side) ============ */
.hero {
    width: 100%; padding: 50px 20px 60px; text-align: center; position: relative; overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(108,92,231,0.35), transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(14,165,160,0.3), transparent 45%),
                linear-gradient(160deg, #14162a 0%, #1c1e3a 55%, #241c44 100%);
}
.hero-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: 34px; align-items: center; position: relative; z-index: 1; }
.hero-content { width: 100%; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.1); color: #d8d3ff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.15); }
.hero h1 { font-size: 32px; line-height: 1.2; margin-bottom: 10px; color: #fff; }
.hero .company-accent { color: #b9aeff; }
.hero-sub { color: #6ee7db; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.hero-desc, .hero p.lead { color: #c7c9e0; font-size: 15.5px; max-width: 560px; margin: 0 auto 22px; line-height: 1.65; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.hero-actions .btn { width: 100%; padding: 14px 22px; }
.hero-actions .btn-outline { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; }
@media (min-width: 560px) {
    .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .hero-actions .btn { width: auto; padding: 13px 26px; }
}
.hero .social-icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.hero .social-icon svg { fill: #fff; }
.hero-media { width: 100%; max-width: 520px; margin: 0 auto; }
.hero-photo-lg { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 25px 60px rgba(0,0,0,0.45); display: block; border: 1px solid rgba(255,255,255,0.12); }
.hero-fallback-lg {
    width: 100%; aspect-ratio: 4/3; border-radius: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 60px; font-weight: 800;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 860px) {
    .hero h1 { font-size: 42px; }
    .hero { text-align: left; }
    .hero-inner { flex-direction: row; align-items: center; gap: 46px; }
    .hero-content { flex: 1; }
    .hero-media { flex: 1; max-width: none; margin: 0; }
    .hero-desc, .hero p.lead { margin-left: 0; margin-right: 0; }
    .hero-actions { justify-content: flex-start; }
    .hero .social-row { justify-content: flex-start; }
}

/* ============ Generic image placeholder (shown wherever no image uploaded) ============ */
.img-placeholder {
    width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: transparent; border: 1.5px dashed var(--border); border-radius: 20px; color: var(--muted);
    font-size: 12.5px; font-weight: 600; text-align: center; padding: 20px;
}
.img-placeholder .icon { color: var(--muted); opacity: 0.7; }
.img-placeholder.ph-hero { aspect-ratio: 4/3; border-radius: 22px; }
.img-placeholder.ph-about { aspect-ratio: 1/1; }
.img-placeholder.ph-product { width: 100%; height: 100%; }

/* ============ Section wrapper ============ */
.section { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.section-alt { background: var(--bg2); }
.section-head { text-align: center; margin-bottom: 30px; }
.section-eyebrow { display: block; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-size: 26px; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 14.5px; }

/* Dark section variant — used for Testimonials to match the dark hero.
   .section-dark is full-bleed (no max-width) so the dark background spans the
   full viewport edge-to-edge; the nested .section.section-inner div re-applies
   the normal max-width/padding so the content itself stays centered — same
   split used by .hero / .hero-inner. */
.section-dark {
    position: relative; overflow: hidden;
    width: 100%; max-width: none; margin: 0; padding: 0;
    background: radial-gradient(circle at 10% 10%, rgba(108,92,231,0.22), transparent 45%),
                radial-gradient(circle at 90% 90%, rgba(14,165,160,0.2), transparent 45%),
                linear-gradient(160deg, #14162a 0%, #1c1e3a 100%);
}
.section-dark .section-inner { position: relative; z-index: 1; }
.section-dark .section-eyebrow { color: #b9aeff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #c7c9e0; }
.section-dark .t-name { color: #a9adc9; }

/* ============ About preview (landing page) ============ */
.about-flex { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.about-flex img, .about-flex .hero-fallback-lg { width: 100%; max-width: 420px; border-radius: 20px; }
.about-image-wrap { width: 100%; max-width: 420px; flex-shrink: 0; }
.about-image-wrap img { width: 100%; border-radius: 20px; display: block; object-fit: cover; aspect-ratio: 1/1; }
.about-flex .about-text { flex: 1; text-align: left; }
.about-flex .about-text p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.about-highlights { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.about-highlight { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.about-highlight .icon { color: var(--accent); background: #f1eefd; width: 30px; height: 30px; border-radius: 8px; }
@media (min-width: 860px) { .about-flex { flex-direction: row; text-align: left; } }

/* ============ Gallery (public landing page) ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg2); border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }

/* ============ Gallery (dashboard admin) ============ */
.gallery-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-top: 10px; }
.gallery-admin-item { border: 1px solid var(--border); border-radius: 12px; padding: 8px; text-align: center; }
.gallery-admin-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; }

/* ============ Dynamic items grid (products/services) ============ */
.items-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.items-grid.featured-single { display: block; }
.featured-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; max-width: 780px; margin: 0 auto; }
.featured-card .product-image-wrap { aspect-ratio: 16/10; }
.featured-card .product-body { padding: 26px; }
@media (min-width: 700px) { .featured-card { flex-direction: row; } .featured-card .product-image-wrap { width: 42%; aspect-ratio: auto; } }

/* ============ Footer (landing page) ============ */
.site-footer { background: #14162a; color: #cdd0e3; padding: 46px 20px 20px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: var(--accent2); }
.site-footer p { color: #9aa0bd; font-size: 13.5px; line-height: 1.6; margin-top: 10px; }
.footer-links a { display: block; color: #aeb2cc; font-size: 13.5px; text-decoration: none; margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact div { display: flex; align-items: center; gap: 8px; color: #aeb2cc; font-size: 13.5px; margin-bottom: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center; transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.footer-social a:hover { background: rgba(108,92,231,0.35); box-shadow: 0 0 18px rgba(108,92,231,0.65); transform: translateY(-2px); }
.footer-social a svg { fill: #cdd0e3; width: 16px; height: 16px; }

/* ============ Contact section: info + map + enquiry form ============ */
.contact-grid { display: grid; gap: 30px; }
.contact-form-col { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: 0 10px 30px rgba(20,20,60,0.06); }
.contact-form label { margin-top: 12px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form .btn { margin-top: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.map-embed-wrap { margin-top: 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(20,20,60,0.08); }
.map-embed-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.footer-bottom { max-width: 1100px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; color: #7c81a3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ============ Floating contact buttons ============ */
.floating-buttons { position: fixed; right: 18px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.22); color: #fff; }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--accent); }

/* ============ Detail page (product/service) ============ */
.detail-hero { max-width: 1100px; margin: 0 auto; padding: 30px 20px; display: grid; gap: 26px; }
@media (min-width: 860px) { .detail-hero { grid-template-columns: 1fr 1fr; align-items: start; } }
.detail-image { width: 100%; border-radius: 20px; aspect-ratio: 4/5; object-fit: contain; background: var(--input-bg); padding: 14px; box-sizing: border-box; }
.detail-cat { color: var(--accent2); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.detail-title { font-size: 28px; margin-bottom: 12px; }
.detail-desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.detail-actions .btn { width: auto; padding: 13px 22px; }
.feature-list { list-style: none; margin-bottom: 20px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--text); }
.feature-list .icon { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.breadcrumb { max-width: 1100px; margin: 16px auto 0; padding: 0 20px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
