/* ============================================
   Tech Upgrade - Premium & Futuristic Feel
   ============================================ */

/* --- Color System --- */
:root {
    --primary: #1a5ae0;
    --primary-light: #3b82f6;
    --primary-dark: #0f3d9e;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #1a5ae0 0%, #06b6d4 100%);
    --dark: #0a1628;
    --dark-soft: #111d33;
    --text: #1e293b;
    --text-light: #64748b;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
    --radius: 8px;
}

/* --- Global Polish --- */
body {
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header: Glassmorphism --- */
.head {
    background: var(--glass) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm) !important;
}

.head_active {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md) !important;
}

/* --- Navigation --- */
.nav span {
    margin-left: 35px;
}

.nava {
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--text) !important;
    transition: color 0.3s ease !important;
}

.nava::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav span:hover .nava::after,
.nav span.active .nava::after {
    width: 80%;
}

.nav span:hover .nava,
.nav span.active .nava {
    color: var(--primary) !important;
}

/* --- Dropdown Menu --- */
.navhide {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 10px 0 !important;
    margin-top: 10px;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
}

.nav .navhide a,
.navhide a {
    font-size: 14px !important;
    padding: 10px 28px !important;
    color: var(--text) !important;
    transition: all 0.25s ease !important;
    display: block !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-align: center !important;
}

.navhide a:hover {
    color: var(--primary) !important;
    background: rgba(26, 90, 224, 0.04);
}

/* --- Banner Section --- */
.swiper-container-bn {
    overflow: hidden;
}

.swiper-container-bn .bntxt h3 {
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.swiper-container-bn .bntxt p {
    letter-spacing: 0.5px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.bna {
    background: var(--gradient) !important;
    color: #fff !important;
    padding: 12px 32px !important;
    border-radius: 6px !important;
    font-weight: 500;
    letter-spacing: 1px;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(26, 90, 224, 0.3);
}

.bna:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 90, 224, 0.4) !important;
}

/* --- Section Headings --- */
.m1lt h3.dx {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 600;
}

.m1lt h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.m1lt h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.mdtop .m1lt h4::after {
    display: none;
}

/* --- About Section --- */
.m1ltxt .text {
    color: var(--text-light);
    line-height: 1.8;
}

.morea {
    color: var(--primary) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease !important;
}

.morea:hover {
    border-bottom-color: var(--primary);
}

/* --- Product Cards (m2) --- */
.m2a {
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-sm);
}

.m2a:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.m2a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.8) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.m2a:hover::before {
    background: linear-gradient(180deg, transparent 20%, rgba(10, 22, 40, 0.9) 100%);
}

.m2atxt {
    z-index: 2;
    position: relative;
}

.m2atxt h3 {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 1px;
}

.m2atxt p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.m2num {
    color: rgba(255, 255, 255, 0.15) !important;
    font-weight: 800;
    font-size: 48px !important;
}

/* --- More Link --- */
.mtra {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease !important;
    position: relative;
}

.mtra:hover {
    color: var(--primary) !important;
}

.mtra::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.mtra:hover::after {
    width: 100%;
}

/* --- Footer --- */
.foot {
    background: var(--dark) !important;
}

.ft1 {
    background: var(--dark) !important;
}

.fm {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.fmtitle {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.fmtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.fmtxt a {
    color: rgba(255, 255, 255, 0.55) !important;
    transition: all 0.3s ease !important;
}

.fmtxt a:hover {
    color: var(--accent) !important;
    padding-left: 4px;
}

.fmtxt p {
    color: rgba(255, 255, 255, 0.55) !important;
}

.fb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fb p, .fb a {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* --- Scroll Animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.m1, .m2, .m3 {
    animation: fadeInUp 0.8s ease forwards;
}

/* --- Pagination dots --- */
.swiper-container-bn .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}

.swiper-container-bn .swiper-pagination-bullet-active {
    width: 28px !important;
    background: #fff !important;
}

/* --- Selection Color --- */
::selection {
    background: var(--primary);
    color: #fff;
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Hide Swiper Nav Arrows (preserve from earlier fix) --- */
.swiper-button-next-bn,
.swiper-button-prev-bn {
    display: none !important;
}
