:root {
    --primary: #0d47a1;
    --primary-dark: #082f6b;
    --secondary: #00a8e8;
    --dark: #111827;
    --text: #4b5563;
    --muted: #6b7280;
    --light: #f5f8fc;
    --border: #e5e7eb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background: #fff;
}

a {
    text-decoration: none;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: #071a35;
    color: #dbeafe;
    font-size: 13px;
    padding: 9px 0;
}

.top-contact {
    display: flex;
    gap: 22px;
}

.top-contact span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-contact i {
    color: #60a5fa;
}

.top-bar a {
    color: #dbeafe;
    transition: 0.2s;
}

.top-bar a:hover {
    color: #fff;
}

.top-divider {
    margin: 0 12px;
    color: #456080;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-main {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--dark);
    min-width: 225px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 23px;
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

.brand-name span {
    color: var(--secondary);
}

.brand small {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.4px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    height: 45px;
    flex: 1;
    max-width: 600px;
    display: flex;
    border: 1px solid #d6dde8;
    border-radius: 7px;
    overflow: hidden;
    background: #f8fafc;
}

.search-box input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 0 16px;
    background: transparent;
    font-size: 13px;
}

.search-box button {
    width: 55px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-size: 17px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-action,
.cart-action {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--dark);
}

.header-action i {
    font-size: 25px;
    color: var(--primary);
}

.header-action small,
.cart-action small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.header-action strong,
.cart-action strong {
    display: block;
    font-size: 13px;
}

.cart-icon {
    position: relative;
}

.cart-icon > i {
    font-size: 26px;
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navbar {
    background: var(--primary);
    padding: 0;
}

.main-navbar .navbar-nav {
    gap: 3px;
}

.main-navbar .nav-link {
    color: #dbeafe;
    padding: 15px 18px !important;
    font-size: 13px;
    font-weight: 600;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.main-navbar .dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    padding: 8px;
}

.main-navbar .dropdown-item {
    padding: 9px 13px;
    font-size: 13px;
    border-radius: 5px;
}

.main-navbar .dropdown-item:hover {
    background: #eff6ff;
    color: var(--primary);
}

.nav-service {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.nav-service > i {
    font-size: 23px;
}

.nav-service span {
    font-size: 10px;
    color: #bfdbfe;
}

.nav-service strong {
    display: block;
    font-size: 12px;
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            110deg,
            #eff6ff 0%,
            #f8fbff 55%,
            #eaf7ff 100%
        );
    padding: 75px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 50px;
    background: #dbeafe;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 17px;
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 620px;
}

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

.hero-content > p {
    max-width: 570px;
    color: var(--text);
    line-height: 1.8;
    font-size: 15px;
    margin: 22px 0 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 21px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--primary);
}

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

.btn-outline-custom {
    padding: 12px 21px;
    border: 1px solid #9ca3af;
    color: var(--dark);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

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

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-features i {
    color: #16a34a;
}


/* Hero Visual */

.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-circle {
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: #dbeafe;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-device {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 65, 120, 0.15);
}

.laptop-device {
    width: 270px;
    height: 190px;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    font-size: 100px;
    color: var(--primary);
}

.camera-device {
    width: 100px;
    height: 100px;
    right: 15px;
    top: 45px;
    font-size: 42px;
    color: var(--secondary);
}

.network-device {
    width: 90px;
    height: 90px;
    left: 15px;
    bottom: 65px;
    font-size: 38px;
    color: #16a34a;
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 13px 16px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(15, 65, 120, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-card i {
    font-size: 25px;
    color: var(--primary);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    font-size: 9px;
    color: var(--muted);
}

.card-one {
    left: 20px;
    top: 10px;
}

.card-two {
    right: 10px;
    bottom: 25px;
}


/* =========================================================
   FEATURE BAR
========================================================= */

.feature-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.feature-item {
    min-height: 95px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid var(--border);
}

.feature-item > i {
    font-size: 28px;
    color: var(--primary);
}

.feature-item strong,
.feature-item span {
    display: block;
}

.feature-item strong {
    font-size: 13px;
}

.feature-item span {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}


/* =========================================================
   COMMON SECTIONS
========================================================= */

.section-padding {
    padding: 75px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-label {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2,
.section-title {
    margin: 7px 0 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.view-all {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.view-all i {
    margin-left: 5px;
}

.section-heading-center {
    max-width: 680px;
    margin: auto;
}

.section-heading-center h2 {
    margin: 7px 0 12px;
    font-size: 32px;
    font-weight: 800;
}

.section-heading-center p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CATEGORY
========================================================= */

.category-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.25s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 15px 35px rgba(15, 65, 120, 0.09);
}

.category-image {
    height: 155px;
    background: #f1f6fc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-image i {
    font-size: 55px;
    color: #9db5d3;
}

.category-content {
    padding: 15px;
}

.category-content h5 {
    margin: 0;
    color: var(--dark);
    font-size: 14px;
}

.category-content span {
    color: var(--muted);
    font-size: 10px;
    display: block;
    margin-top: 5px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    background: var(--light);
}

.product-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 65, 120, 0.10);
}

.product-image {
    height: 220px;
    background: #f7f9fc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

.product-placeholder {
    font-size: 60px;
    color: #a9bdd5;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 700;
    z-index: 2;
}

.wishlist-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 33px;
    height: 33px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
}

.product-body {
    padding: 17px;
}

.product-category {
    color: var(--primary);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.product-name {
    color: var(--dark);
    font-size: 13px;
    line-height: 1.5;
    margin: 7px 0;
}

.product-rating {
    color: #f59e0b;
    font-size: 10px;
}

.product-rating span {
    color: var(--muted);
    margin-left: 4px;
}

.product-price {
    margin: 10px 0;
}

.product-price strong {
    color: var(--primary);
    font-size: 18px;
}

.old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 11px;
    margin-right: 5px;
}

.add-cart-btn {
    width: 100%;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: #fff;
    border-radius: 5px;
    padding: 9px;
    font-size: 11px;
    font-weight: 700;
}

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


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 75px 0;
    background: #f8fafc;
}

.service-card {
    min-height: 250px;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 23px;
    align-items: flex-start;
}

.computer-service {
    background: #eaf2ff;
}

.cctv-service {
    background: #e9fafa;
}

.service-icon {
    min-width: 65px;
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 30px;
}

.service-card span {
    font-size: 9px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.service-card h3 {
    font-size: 22px;
    margin: 7px 0 10px;
    font-weight: 800;
}

.service-card p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.7;
}

.service-card a {
    display: inline-flex;
    gap: 8px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.section-description {
    color: var(--text);
    line-height: 1.8;
    font-size: 13px;
    margin: 20px 0 25px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.why-card {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

.why-icon {
    width: 43px;
    height: 43px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 13px;
}

.why-card h5 {
    font-size: 13px;
    margin-bottom: 7px;
}

.why-card p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    background: linear-gradient(
        120deg,
        #082f6b,
        #0d47a1
    );
    padding: 50px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content > div:first-child > span {
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cta-content h2 {
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    margin: 7px 0;
}

.cta-content p {
    color: #bfdbfe;
    font-size: 12px;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-light-custom {
    background: #fff;
    color: var(--primary);
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.btn-outline-light-custom {
    border: 1px solid #93c5fd;
    color: #fff;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    text-align: center;
    padding: 50px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #fff;
}

.empty-state i {
    font-size: 40px;
    color: #94a3b8;
}

.empty-state h5 {
    margin-top: 12px;
}

.empty-state p {
    color: var(--muted);
    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #071a35;
    color: #cbd5e1;
    padding: 60px 0 0;
}

.footer .brand-name {
    color: #fff;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
}

.footer-description {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.8;
    max-width: 340px;
}

.footer h5 {
    color: #fff;
    font-size: 13px;
    margin-bottom: 17px;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 11px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    color: #94a3b8;
    font-size: 11px;
    display: flex;
    gap: 9px;
    line-height: 1.6;
}

.footer-contact i {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #102b50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfdbfe;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 45px;
    padding: 18px 0;
    border-top: 1px solid #193453;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #64748b;
    font-size: 9px;
}


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

@media (max-width: 991px) {

    .header-main {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .nav-service {
        display: none;
    }

    .main-navbar .nav-link {
        padding: 12px 10px !important;
    }

    .hero-section {
        padding: 55px 0;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 767px) {

    .top-contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 15px;
    }

    .top-bar .text-md-end {
        text-align: center !important;
        margin-top: 6px;
    }

    .brand {
        min-width: auto;
    }

    .header-actions {
        margin-left: auto;
        gap: 10px;
    }

    .header-action > div,
    .cart-action > div:last-child {
        display: none;
    }

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

    .hero-visual {
        min-height: 340px;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .laptop-device {
        width: 210px;
        height: 145px;
        font-size: 75px;
    }

    .camera-device {
        width: 75px;
        height: 75px;
        font-size: 30px;
    }

    .network-device {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


@media (max-width: 575px) {

    .hero-content h1 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

    .hero-visual {
        transform: scale(.85);
        margin-left: -8%;
        margin-right: -8%;
    }

    .service-card {
        flex-direction: column;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cta-buttons a {
        text-align: center;
    }
}

/* Fixed Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.product-cart-action {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 32px;
    height: 38px;
    border: 0;
    background: #f8f9fa;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-btn:hover {
    background: #e9ecef;
}

.qty-input {
    width: 38px;
    height: 38px;
    border: 0;
    text-align: center;
    font-weight: 600;
    outline: none;
}

/* Remove number input arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type="number"] {
    -moz-appearance: textfield;
}

.add-cart-btn {
    flex: 1;
}

/* =========================================================
   SHOP PAGINATION
========================================================= */

.shop-pagination {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.shop-pagination .pagination {
    margin: 0;
    gap: 5px;
}

.shop-pagination .page-item .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;
    border: 1px solid #dee2e6;

    font-size: 14px;
    font-weight: 600;

    color: #374151;
    background: #fff;

    box-shadow: none;
}

.shop-pagination .page-item .page-link:hover {
    color: #0d6efd;
    background: #f0f6ff;
    border-color: #0d6efd;
}

.shop-pagination .page-item.active .page-link {
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd;
}

.shop-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    border-color: #e9ecef;
}

.shop-pagination .page-link:focus {
    box-shadow: none;
}


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

    .shop-pagination {
        margin-top: 25px;
    }

    .shop-pagination .pagination {
        gap: 3px;
    }

    .shop-pagination .page-item .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 13px;
    }

}
.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
}
