/* ========================================================= */
/* --- GENERAL & THEME SYSTEM --- */
/* ========================================================= */
html{
    scroll-behavior:smooth;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body{
    background:#080B11;
    color:#fff;
    overflow-x:hidden;
    position: relative;
}

/* --- PREMIUM GRAPHIC BACKGROUND SYSTEM --- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Luxury Glow Ambient Orbs */
.bg-glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(160px);
    opacity: 0.12;
}
.orb-1 { top: -10%; left: -10%; background: #6c3bff; }
.orb-2 { top: 40%; right: -10%; background: #00d4ff; }
.orb-3 { bottom: -10%; left: 20%; background: #6c3bff; }

:root {
    --primary-gradient: linear-gradient(90deg, #6c3bff, #00d4ff, #6c3bff);
    --primary-color: #6c3bff;
    --secondary-color: #00d4ff;
    --text-muted: #94a3b8;
    --bg-card: rgba(6, 11, 30, 0.45);
    --border-card: rgba(255, 255, 255, 0.05);
}

section, footer, nav {
    position: relative;
    z-index: 1;
}

[id] {
    scroll-margin-top: 110px;
}

/* --- NAVBAR --- */
.navbar{
    position:fixed;
    top:15px;
    left:50%;
    transform:translateX(-50%);
    width:95%;
    max-width:1400px;
    padding:3px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(4, 8, 22, 0.4);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.07);
    border-radius:20px;
    z-index:1000;
    transition:.4s;
}

.navbar.scrolled{
    padding:0px 35px;
    border-radius:50px;
    background:rgba(2, 5, 14, 0.75);
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo img {
    width: 190px;
    display: block;
}

.nav-links{
    display:flex;
    gap:35px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: white;
    text-decoration: none;
    transition: .3s;
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.nav-item:hover > a {
    color: var(--secondary-color);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(4, 8, 20, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 640px; 
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}
/* ========================
   Dropdown & Hover Logic
======================== */
.dropdown-wrapper {
    position: relative;
    /* আপনার মেনু আইটেমের সাথে মিল রাখার জন্য padding থাকতে পারে */
    padding: 10px 0; 
}

/* যখন Solution-এর উপর মাউস হোভার করা হবে, তখন মেনু শো করবে */
.dropdown-wrapper:hover .mega-menu-container {
    visibility: visible;
    opacity: 1;
    margin-top: 0; /* নিচ থেকে উপরে ওঠার ইফেক্ট */
}

/* ========================
   Mega Menu Container
======================== */
.mega-menu-container {
    position: absolute;
    top: 100%; /* Solution লেখার ঠিক নিচে থাকবে */
    left: 50%;
    transform: translateX(-50%);
    width: 800px; /* মেনুর চওড়া (প্রয়োজনে কমাতে/বাড়াতে পারেন) */
    background-color: #0b101e; /* ডার্ক থিম ব্যাকগ্রাউন্ড */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border: 1px solid #1e2638;
    z-index: 1000;
    
    /* হোভার অ্যানিমেশনের জন্য ডিফল্টভাবে হাইড করা */
    visibility: hidden;
    opacity: 0;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
    cursor: default;
}

/* মেনু এবং Solution লেখার মাঝখানের গ্যাপ পূরণ করার জন্য অদৃশ্য ব্রিজ */
.mega-menu-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* ========================
   Tabs Header
======================== */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #1e2638;
    padding-bottom: 20px;
}

/* ট্যাব বাটনের স্টাইল */
.tab-btn {
    background-color: #121722;
    border: 1px solid #1e2638;
    border-radius: 10px;
    padding: 12px 30px;
    color: #6c7a9c;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* ট্যাব হোভার ইফেক্ট */
.tab-btn:hover {
    border-color: #00d2ff;
    color: #00d2ff;
    background-color: #161c29;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

/* অ্যাকটিভ ট্যাব (যেটা সিলেক্ট করা আছে) */
.tab-btn.active-tab {
    border-color: #00d2ff;
    color: #00d2ff;
    background-color: #161c29;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* ========================
   Content Area & Sections
======================== */
.content-area {
    min-height: 150px;
}

.content-section {
    display: none; /* ডিফল্টভাবে হাইড করা */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* অ্যাকটিভ কন্টেন্ট শো করা */
.content-section.active {
    display: flex;
    animation: fadeIn 0.4s ease-in-out;
}

/* ========================
   Cards Design (Links)
======================== */
.item-card {
    background-color: #121722; 
    border: 1px solid #1e2638; 
    border-radius: 12px;
    width: 130px;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none; /* লিঙ্কের নিচের দাগ মুছে ফেলার জন্য */
    transition: all 0.3s ease;
}

/* কার্ড হোভার ইফেক্ট */
.item-card:hover {
    border-color: #00d2ff;
    background-color: #161c29;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
    transform: translateY(-5px); /* হোভার করলে একটু উপরে উঠবে */
}

/* কার্ডের আইকন */
.item-icon {
    color: #00d2ff; 
    font-size: 28px;
}

/* কার্ডের টেক্সট */
.item-text {
    color: #00d2ff; 
    font-weight: bold;
    font-size: 13px;
    text-transform: capitalize;
}

/* ========================
   Animations
======================== */
/* ট্যাব চেঞ্জ করার সময় ফেড ইন ইফেক্ট */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mega-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mega-card:hover {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-3px);
}

.mega-card i {
    font-size: 28px;
    color: var(--secondary-color);
}

.mega-card span {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.menu-toggle-bar{
    display: block;
    width: 100%;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle.active .menu-toggle-bar:nth-child(1){ transform: translateY(9.5px) rotate(45deg); }
.menu-toggle.active .menu-toggle-bar:nth-child(2){ opacity: 0; }
.menu-toggle.active .menu-toggle-bar:nth-child(3){ transform: translateY(-9.5px) rotate(-45deg); }

.btn-demo{
    padding:14px 28px;
    border-radius:50px;
    background: var(--primary-gradient);
    background-size: 200% auto;
    text-decoration:none;
    color:#fff;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(108, 59, 255, 0.3);
    transition: all 0.4s ease;
}

.btn-demo:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* --- HERO SECTION --- */
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:140px 8% 80px 8%;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:''; position:absolute; width:500px; height:500px; background:var(--primary-color);
    filter:blur(220px); opacity:.18; top:-150px; left:-50px; z-index: 1;
}

.hero-badge{
    display:inline-block;
    padding:12px 20px;
    border-radius:50px;
    background:rgba(255,255,255,.04);
    backdrop-filter: blur(5px);
    border:1px solid rgba(255,255,255,.08);
    margin-bottom:25px;
    font-size:14px;
}

.hero-content{ max-width: 620px; }
.hero h1{ font-size:64px; line-height:1.15; margin-bottom:25px; font-weight: 700; }
.hero p{ font-size:19px; color:var(--text-muted); line-height:1.8; margin-bottom:35px; }

/* --- DYNAMIC SWAP HERO BUTTONS SYSTEM --- */
.hero-buttons { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 40px; 
}
.hero-buttons .btn-primary { 
    background: var(--primary-gradient); 
    background-size: 200% auto;
    padding:16px 32px; 
    border-radius:50px; 
    text-decoration:none; 
    color:white; 
    font-weight:600; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(108, 59, 255, 0.3); 
    border: 2px solid transparent;
}
.hero-buttons .btn-secondary { 
    border: 2px solid rgba(255,255,255,0.1); 
    background: rgba(255,255,255,0.02); 
    backdrop-filter: blur(5px); 
    padding:16px 32px; 
    border-radius:50px; 
    text-decoration:none; 
    color:white; 
    font-weight:600; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When watching demo, swap background seamlessly */
.hero-buttons:hover .btn-primary {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
    box-shadow: none;
}
.hero-buttons .btn-secondary:hover { 
    background: var(--primary-gradient);
    background-size: 200% auto;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}
.hero-buttons .btn-primary:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4) !important;
    transform: translateY(-2px);
}

.stats{ display:flex; gap:20px; }
.stat{ padding:18px 25px; border-radius:20px; background:rgba(255,255,255, 0.02); backdrop-filter: blur(10px); border:1px solid var(--border-card); }
.stat h3{ color:var(--secondary-color); font-size:28px; }

.hero-image{ flex-shrink: 0; width: 560px; max-width: 100%; }
.hero-svg{ width:100%; height:auto; animation:float 4s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.15)); }
@keyframes float{ 0%, 100%{ transform:translateY(0); } 50%{ transform:translateY(-15px); } }

/* --- ONE-WAY MARQUEE --- */
.powered-by { padding: 40px 8%; text-align: center; }
.powered-container { max-width: 1200px; margin:0 auto; padding: 30px 0; background: rgba(255,255,255,0.01); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.03); border-radius:20px; overflow: hidden; position: relative; }
.marquee-wrapper { display: flex; width: max-content; gap: 70px; animation: scrollMarquee 20s linear infinite; }

@keyframes scrollMarquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-33.33%); } 
}
.tech-logo { display: flex; align-items: center; gap: 12px; color: #e2e8f0; text-decoration: none; opacity: 0.7; transition: 0.3s; }
.tech-logo:hover { opacity: 1; color: var(--secondary-color); }

/* --- SHARED SECTION LABEL --- */
.eyebrow-label{
    display: block;
    color: #a3e635;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* --- SMART AI SERVICES SPLIT SECTION --- */
.services-split{
    padding: 100px 8%;
}
.services-split-inner{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.services-split-image-frame{
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.services-split-image-frame img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: grayscale(1);
    display: block;
}
.services-split-badge{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #a3e635;
    color: #0a0f1a;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(163, 230, 53, 0.35);
}
.services-split-title{
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 22px;
}
.services-split-desc{
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 28px;
}
.services-feature-card{
    padding: 20px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.services-feature-card:last-child{ margin-bottom: 0; }
.services-feature-icon{
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--secondary-color);
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services-feature-card h4{
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 5px;
}
.services-feature-card p{
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

/* --- WHY CHOOSE US (BENTO GRID) --- */
.why-section{
    padding: 100px 8%;
}
.why-inner{
    max-width: 1200px;
    margin: 0 auto;
}
.why-header{
    text-align: center;
    max-width: 620px;
    margin: 0 auto 55px;
}
.why-header .eyebrow-label{ text-align: center; }
.why-header h2{
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
}

.why-bento{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}
.why-col{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.why-card{
    padding: 26px;
    border-radius: 22px;
    flex: 1;
}
.why-card-middle{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.why-icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}
.why-icon-accent{ background: #a3e635; color: #0a0f1a; }
.why-icon-solid{ background: var(--secondary-color); color: #0a0f1a; }
.why-card h3{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.why-card p{
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.65;
}
.why-card-middle p{ margin-bottom: 22px; }

.mobile-mockup{
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.mobile-mockup-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
    margin-bottom: 12px;
    color: #8a99ad;
    font-size: 12px;
}
.mobile-mockup-brand{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}
.mobile-mockup-avatar{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #05101a;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-mockup-status{
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 12px;
    text-align: center;
}
.mobile-mockup-status-label{
    display: block;
    font-size: 9px;
    font-family: monospace;
    color: #a3e635;
    margin-bottom: 2px;
}
.mobile-mockup-status-value{
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.mobile-mockup-stats{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 10px;
    color: #cbd5e1;
}
.mobile-mockup-stats div{
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

@media (max-width: 900px){
    .services-split-inner{ grid-template-columns: 1fr; gap: 36px; }
    .why-bento{ grid-template-columns: 1fr; }
    .why-col{ flex-direction: row; }
    .why-col .why-card{ flex: 1; }
}
@media (max-width: 600px){
    .services-split{ padding: 60px 6%; }
    .why-section{ padding: 60px 6%; }
    .services-split-title{ font-size: 27px; }
    .why-header h2{ font-size: 26px; }
    .why-col{ flex-direction: column; }
    .services-split-image-frame img{ height: 260px; }
}

/* --- SERVICES --- */
/* ==========================================================================
   UPDATED & NEW STYLES
   ========================================================================== */

/* 1. Powered By Section Changes */


/* --- HOW WE WORK FLOW LINE --- */
/*.how-we-work {
    padding: 80px 8% 40px 8%;
    text-align: center;
}
*/

/* --- ABOUT JAVONIX AI LAYOUT --- */
.about-javonix-wrapper {
    padding: 100px 8%;
    background: radial-gradient(circle at 80% 50%, rgba(108, 59, 255, 0.04), transparent 50%);
}

.about-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-left-text {
    flex: 1.2;
    text-align: left;
}

.about-left-text h5 {
    font-size: 12px;
    color: #38bdf8;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-left-text h2 {
    font-size: 44px;
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
}

.about-left-text p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-about-blue {
    display: inline-block;
    background: #0052cc;
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
}

.btn-about-blue:hover {
    background: #0066ff;
    transform: translateY(-2px);
}

.about-right-counter-box {
    flex: 1;
    background: rgba(4, 9, 24, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.counter-column-item {
    text-align: center;
    position: relative;
}

.counter-column-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; height: 60%;
    width: 1px; background: rgba(255,255,255,0.08);
}

.counter-column-item i {
    font-size: 28px;
    color: #38bdf8;
    margin-bottom: 15px;
    display: block;
}

.counter-column-item h2 {
    font-size: 42px;
    color: white;
    font-weight: 700;
    line-height: 1;
}

.counter-column-item span {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
    line-height: 1.4;
}

/* --- CALL TO ACTION BANNER --- */
.cta-banner-section {
    padding: 60px 8%;
}

.cta-glowing-container {
    background: linear-gradient(135deg, #02081c 0%, #04143a 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    padding: 55px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.cta-glowing-container::after {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 75%);
    pointer-events: none;
}

.cta-left-text h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-left-text p {
    color: #94a3b8;
    font-size: 16px;
}

.btn-cta-submit {
    background: #0052cc;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.4);
}

.btn-cta-submit:hover {
    background: #0066ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

/* --- MEGA FOOTER SYSTEM --- */
.mega-footer-system {
    background: #01030a;
    border-top: 1px solid rgba(255,255,255,0.02);
    padding: 80px 8% 40px 8%;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand-profile h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand-profile p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social-row {
    display: flex;
    gap: 14px;
}

.footer-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social-row a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.footer-links-column h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 22px;
    font-weight: 600;
}

.footer-links-column ul { list-style: none; }
.footer-links-column ul li { margin-bottom: 14px; }

.footer-links-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.footer-links-column ul li a:hover {
    color: #00d4ff;
}

.footer-contact-info p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info p i { color: #38bdf8; width: 16px; }

.footer-copyright-bar {
    text-align: center;
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.02);
    color: #475569;
    font-size: 14px;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top{
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(4, 8, 22, 0.85);
    backdrop-filter: blur(10px);
    color: #00d4ff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}
.back-to-top.visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--primary-gradient); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(0, 212, 255, 0.35); }

/* --- SCROLL REVEAL --- */
.reveal{ opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
    .reveal{ opacity: 1; transform: none; transition: none; }
    .hero-svg{ animation: none; }
}

/* --- SHARED INFO MODAL --- */
.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 10, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active{ opacity: 1; visibility: visible; }

.modal-box{
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #0b101e;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 22px;
    padding: 40px 34px 34px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-box{ transform: translateY(0) scale(1); }

.modal-close{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.modal-close:hover{ color: #fff; border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.08); }

.modal-icon{
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: var(--primary-gradient);
    background-size: 200% auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.modal-box h3{ font-size: 22px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.modal-box p{ font-size: 14.5px; line-height: 1.7; color: #94a3b8; margin-bottom: 28px; }

.modal-actions{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.modal-actions .btn-primary, .modal-actions .btn-secondary{ padding: 12px 24px; font-size: 14px; }
.modal-actions .btn-secondary{ cursor: pointer; font-family: inherit; }

@media (max-width: 480px){
    .modal-box{ padding: 32px 22px 26px; }
    .modal-actions{ flex-direction: column; }
    .modal-actions a, .modal-actions button{ width: 100%; }
}

/* --- BOOK DEMO FORM --- */
.demo-box{ max-width: 520px; text-align: left; }
.demo-box .modal-icon{ margin: 0 auto 16px; }
.demo-box h3{ text-align: center; }
.demo-box > p, .demo-box #demoFormWrap > p{ text-align: center; }

.demo-form{ margin-top: 24px; text-align: left; }
.demo-form-row{ margin-bottom: 16px; }
.demo-form-row label{
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #b7c2d0;
    margin-bottom: 6px;
}
.demo-form-row input,
.demo-form-row textarea{
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.demo-form-row input::placeholder,
.demo-form-row textarea::placeholder{ color: #64748b; }
.demo-form-row input:focus,
.demo-form-row textarea:focus{
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}
/* Make the native date/time picker icon visible on the dark background */
.demo-form-row input[type="date"]::-webkit-calendar-picker-indicator,
.demo-form-row input[type="time"]::-webkit-calendar-picker-indicator{
    filter: invert(1);
    cursor: pointer;
}
.demo-form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form-grid .demo-form-row{ margin-bottom: 0; }
.demo-form textarea{ resize: vertical; min-height: 70px; }

.demo-form-error{
    display: none;
    color: #ff6b6b;
    font-size: 13px;
    margin: -6px 0 14px;
}
.demo-form-error.active{ display: block; }

.demo-submit-btn{
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.demo-submit-btn:disabled{ opacity: 0.7; cursor: not-allowed; }
.demo-submit-btn .btn-spinner{
    width: 15px; height: 15px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}
.demo-submit-btn.loading .btn-spinner{ display: inline-block; }
@keyframes spin{ to{ transform: rotate(360deg); } }

.demo-success{ text-align: center; padding-top: 6px; }
.demo-success .modal-icon{ background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 8px 25px rgba(34,197,94,0.3); }
.demo-success button{
    border: none; cursor: pointer; font-family: inherit;
    padding: 12px 28px;
}

@media (max-width: 480px){
    .demo-form-grid{ grid-template-columns: 1fr; }
}

/* ========================================================= */
/* --- RESPONSIVE ADJUSTMENTS FOR LAPTOPS & PHONES ---       */
/* ========================================================= */
.mobile-only-demo{ display: none; }
@media(max-width:1024px){
    .mobile-only-demo{ display: block; }
    .mobile-only-demo a{ color: #00d4ff !important; font-weight: 700; }
    .hero{ flex-direction:column; text-align:center; gap:60px; padding: 130px 8% 70px; min-height: auto; }
    .hero h1{ font-size:48px; }
    .hero-content{ max-width: 100%; }
    .hero-buttons{ justify-content:center; flex-wrap: wrap; }
    .stats{ justify-content:center; flex-wrap: wrap; }
    .menu-toggle { display: flex; }
    .desktop-demo { display: none; }

    .nav-links{
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(4, 8, 22, 0.98); backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px; padding: 30px; gap: 15px; text-align: left;
    }
    .nav-links.active { display: flex !important; }
    .mega-menu { position: static; transform: none; width: 100%; display: none; opacity: 1; visibility: visible; flex-direction: column;}
    .nav-item.open .mega-menu { display: flex !important; }

    .mega-menu-container { position: static; transform: none; width: 100%; display: none; opacity: 1; visibility: visible; margin-top: 12px; box-shadow: none; }
    .mega-menu-container::before { display: none; }
    .nav-item.open .mega-menu-container { display: block !important; }
    .tabs-header { flex-wrap: wrap; gap: 10px; }
    .content-section { justify-content: flex-start; }
    .item-card { width: 100px; height: 90px; }

    .work-flow-container { flex-direction: column; gap: 25px; }
    .flow-arrow { transform: rotate(90deg); margin: 5px 0; }
    .about-container-flex { flex-direction: column; text-align: center; }
    .about-left-text { text-align: center; }
    .about-right-counter-box { width: 100%; }
    .cta-glowing-container { flex-direction: column; text-align: center; gap: 35px; padding: 40px; }
    .footer-main-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 600px) {
    .navbar{ width: 92%; padding: 10px 20px; }
    .logo img{ width: 140px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .stat{ padding: 14px 18px; }
    .stat h3{ font-size: 22px; }
    .services .section-title { font-size: 32px; }
    .about-left-text h2 { font-size: 30px; }
    .about-right-counter-box { grid-template-columns: 1fr; gap: 30px; }
    .counter-column-item::after { display: none; }
    .footer-main-grid { grid-template-columns: 1fr; }
    .cta-left-text h2 { font-size: 26px; }
}
    @media (max-width: 600px) {
    #services, #why { padding-top: 60px !important; padding-bottom: 60px !important; }
    .pr, .blog-section { padding-top: 60px !important; padding-bottom: 60px !important; }
}

/* Section Layout */
    .services-section {
      display: flex;
      gap: 40px;
      max-width: 1100px;
      margin: 0 auto;
      align-items: flex-start;
      padding: 100px 8%;
    }

    /* Left Content */
    .left-content {
      flex: 1;
      position: sticky;
      top: 40px;
    }

    .left-content h2 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .left-content h2 span {
      color: #00d2ff;
    }

    .left-content p {
      color: #8a99ad;
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 30px;
      max-width: 280px;
    }

    .btn-all-services {
      display: inline-block;
      padding: 10px 28px;
      border: 1px solid #00d2ff;
      border-radius: 30px;
      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
      box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
      transition: all 0.3s ease;
    }

    .btn-all-services:hover {
      background-color: #00d2ff;
      color: #030a12;
      box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
    }

    /* Right Content (Scrollable Container) */
    .right-content {
      flex: 2;
      max-height: 520px; /* এই উচ্চতার বেশি হলে স্ক্রোল শুরু হবে */
      overflow-y: auto;
      padding-right: 12px;
    }

    /* Custom Scrollbar Styles */
    .right-content::-webkit-scrollbar {
      width: 6px;
    }

    .right-content::-webkit-scrollbar-track {
      background: #091827;
      border-radius: 10px;
    }

    .right-content::-webkit-scrollbar-thumb {
      background: #00d2ff;
      border-radius: 10px;
    }

    /* Cards Grid Layout */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }

    /* Card Item */
    .card {
      position: relative;
      height: 240px;
      border-radius: 12px;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      border: 1px solid rgba(0, 210, 255, 0.2);
      cursor: pointer;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }
    .card:hover, .card:focus-visible {
      transform: translateY(-4px);
      border-color: rgba(0, 210, 255, 0.6);
      outline: none;
    }

    .card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(3, 10, 18, 0.2) 0%, rgba(3, 10, 18, 0.95) 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 20px;
    }

    .card-overlay h3 {
      font-size: 18px;
      margin: 0 0 8px 0;
      color: #ffffff;
    }

    .card-overlay p {
      font-size: 12px;
      color: #b5c0a0;
      margin: 0;
      line-height: 1.4;
    }

    /* Responsive Styles for Mobile */
    @media (max-width: 768px) {
      .services-section {
        flex-direction: column;
        gap: 28px;
        padding: 60px 6%;
      }

      .left-content {
        position: static;
      }

      .left-content p {
        max-width: 100%;
      }

      /* Fix: on mobile the cards were trapped inside a small
         520px scrollbox and were basically invisible. Let them
         flow naturally with the page instead. */
      .right-content {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        width: 100%;
      }

      .cards-grid {
        grid-template-columns: 1fr;
      }

      .card {
        height: 220px;
      }
    }

    @media (max-width: 420px) {
      .card {
        height: 190px;
      }
    }
/* Outer Wrapper Container */

    .projects-container {
      background-color: #05101a;
      border: 1px solid rgba(0, 210, 255, 0.15);
      border-radius: 20px;
      padding: 60px 40px;
      max-width: 1000px;
      width: 100%;
      text-align: center;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
      margin:0 auto;
    }

    /* Section Header */
    .section-title {
      font-family: 'Orbitron', sans-serif;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: 1px;
      margin-bottom: 12px;
      color: #ffffff;
    }

    .section-title span {
      color: #00d2ff;
      text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
    }

    .section-desc {
      color: #8a99ad;
      font-size: 13px;
      max-width: 550px;
      margin: 0 auto 50px auto;
      line-height: 1.6;
    }

    /* Projects Grid */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      margin-bottom: 50px;
    }

    /* Card Layout */
    .project-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      background: #091724;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .card-img-wrapper {
      width: 100%;
      height: 250px;
      overflow: hidden;
      border-radius: 16px;
    }

    .card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .project-card:hover .card-img-wrapper img {
      transform: scale(1.05);
    }

    /* Overlapping Card Content Box */
    .card-info {
      background-color: #07131f;
      border: 1px solid rgba(0, 210, 255, 0.2);
      border-radius: 12px;
      padding: 24px 20px;
      width: 88%;
      margin-top: -60px; /* Overlap effect */
      position: relative;
      z-index: 2;
      text-align: center;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }

    .card-info h3 {
      font-family: 'Orbitron', sans-serif;
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 10px;
      letter-spacing: 0.5px;
    }

    .card-info p {
      color: #7d8e9e;
      font-size: 12px;
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .view-details-btn {
      color: #00d2ff;
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.3s ease;
    }

    .view-details-btn:hover {
      gap: 10px;
      text-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
    }

    /* Bottom Pill Button */
    .btn-view-all {
      display: inline-block;
      font-family: 'Orbitron', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: #ffffff;
      text-decoration: none;
      padding: 12px 36px;
      border: 1px solid #00d2ff;
      border-radius: 30px;
      background: linear-gradient(180deg, rgba(0, 210, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
      box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
      transition: all 0.3s ease;
    }

    .btn-view-all:hover {
      background: #00d2ff;
      color: #03080e;
      box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
    }

    /* Responsive Design for Mobile */
    @media (max-width: 768px) {
      .projects-grid {
        grid-template-columns: 1fr;
      }

      .section-title {
        font-size: 24px;
      }

      .projects-container {
        padding: 40px 20px;
      }
    }
    .blog-container {
      max-width: 1200px;
      width: 100%;
      text-align: center;
      margin:0 auto;
    }

    .section-header h2 {
      font-family: 'Orbitron', sans-serif;
      font-size: 38px;
      font-weight: 700;
      letter-spacing: 1px;
      margin-bottom: 12px;
      color: #ffffff;
    }

    .section-header h2 span {
      color: #00d2ff;
      text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
    }

    .section-header p {
      color: #8a99ad;
      font-size: 14px;
      max-width: 600px;
      margin: 0 auto 60px auto;
      line-height: 1.6;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .blog-card {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      aspect-ratio: 1 / 1; /* Makes card square */
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: transform 0.4s ease, border-color 0.4s ease;
      cursor: pointer;
    }

    .blog-card:hover {
      transform: translateY(-8px);
      border-color: #00d2ff;
    }

    .blog-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .blog-card:hover img {
      transform: scale(1.05);
    }

    .blog-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 30px 25px;
      text-align: left;
    }

    .blog-overlay h3 {
      font-family: 'Orbitron', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 12px;
      letter-spacing: 0.5px;
      line-height: 1.4;
    }

    .blog-overlay p {
      color: #a0aec0;
      font-size: 13px;
      line-height: 1.5;
    }

    @media (max-width: 992px) {
      .blog-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .blog-grid {
        grid-template-columns: 1fr;
      }
      .section-header h2 {
        font-size: 30px;
      }
    }