/* ==========================================================================
   ১. গ্লোবাল ভেরিয়েবল ও বেসিক রিসেট (GLOBAL VARIABLES & RESET)
   ========================================================================== */
:root {
    --bg-body: #070d1b;         
    --bg-card: #0f172a;         
    --primary: #38bdf8;         
    --accent-gold: #fbbf24;     
    --text-main: #ffffff;       
    --text-muted: #e2e8f0;      
    --text-sub: #cbd5e1;        
    --border-color: rgba(255, 255, 255, 0.12); 
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { 
    font-weight: 700; 
    color: var(--text-main); 
}

p, span, li { 
    color: var(--text-muted); 
}

.section-title { 
    font-size: 2.8rem; 
    font-weight: 800; 
    margin-bottom: 1rem; 
    color: var(--text-main); 
}

.section-subtitle { 
    color: var(--primary); 
    font-weight: 900; 
    font-size: 1rem; 
    letter-spacing: 2.5px; 
    text-transform: uppercase; 
    margin-bottom: 14px; 
    display: block; 
}

.section-desc { 
    color: var(--text-sub) !important; 
    font-size: 1.1rem; 
    margin-bottom: 2rem;
}

.service-bg {
    background: rgba(15, 23, 42, 0.25);
}

.channel-bg {
    background: rgba(15, 23, 42, 0.4);
}


/* ==========================================================================
   ২. ন্যাভবার / মেন্যুবার (NAVBAR STYLES)
   ========================================================================== */
.navbar { 
    padding: 20px 0; 
    transition: 0.3s ease; 
    background: rgba(7, 13, 27, 0.85); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled { 
    padding: 14px 0; 
    background: rgba(7, 13, 27, 0.98); 
}

.navbar-brand { 
    font-size: 1.7rem; 
    font-weight: 800; 
    color: #fff !important; 
}

.navbar-brand span { 
    color: var(--primary); 
}

.nav-link { 
    color: #cbd5e1 !important; 
    font-weight: 600; 
    font-size: 0.95rem; 
    margin: 0 10px; 
    padding: 6px 0 !important;
    transition: 0.3s; 
    white-space: nowrap; 
}

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

.btn-nav {
    background: var(--primary);
    color: #070d1b !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-nav:hover {
    background: #fff;
    color: #070d1b !important;
}


/* ==========================================================================
   ৩. বাটনসমূহ (BUTTON STYLES)
   ========================================================================== */
.btn-virtuo {
    background: var(--primary); 
    color: #070d1b; 
    font-weight: 700; 
    padding: 15px 36px; 
    font-size: 1.05rem;
    border-radius: 50px; 
    transition: all 0.3s ease; 
    text-decoration: none; 
    display: inline-block;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.btn-virtuo:hover { 
    background: #fff; 
    transform: translateY(-3px); 
    color: #070d1b; 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); 
}

.btn-outline-virtuo {
    background: transparent; 
    color: #fff; 
    font-weight: 700; 
    padding: 15px 36px; 
    font-size: 1.05rem;
    border-radius: 50px; 
    border: 1.5px solid var(--border-color); 
    transition: all 0.3s ease; 
    text-decoration: none; 
    display: inline-block;
}

.btn-outline-virtuo:hover { 
    border-color: var(--primary); 
    color: var(--primary); 
    background: rgba(56, 189, 248, 0.05); 
    transform: translateY(-3px); 
}

.btn-project-link {
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-project-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}


/* ==========================================================================
   ৪. হিরো সেকশন ও মাল্টি-স্টেপ অ্যানিমেশন (HERO & MULTI-STEP ANIMATION)
   ========================================================================== */
#hero { 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    padding-top: 140px; 
    padding-bottom: 80px; 
    position: relative; 
    overflow: hidden; 
}

.hero-title { 
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 25px; 
    color: var(--text-main);
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-right: 4px solid var(--primary);
    white-space: normal;
    animation: typingEffect 3.5s steps(40, end), blinkCursor 0.75s step-end infinite;
    max-width: 100%;
}

@keyframes typingEffect {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary); }
}

.hero-description {
    color: var(--text-muted) !important;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-img-wrapper {
    position: relative; 
    border-radius: 26px; 
    overflow: hidden;
    border: 1.5px solid var(--border-color); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    background: var(--bg-card);
    animation: floatImage 6s ease-in-out infinite; 
    max-width: 420px; 
}

.hero-img-wrapper img { 
    width: 100%; 
    height: 480px; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

.hero-img-wrapper:hover img { 
    transform: scale(1.04); 
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}


/* ==========================================================================
   ৫. সার্ভিস ও প্রসেস কার্ড
   ========================================================================== */
.virtuo-card {
    background: var(--bg-card); 
    border: 1px solid var(--border-color);
    border-radius: 22px; 
    padding: 40px 32px; 
    height: 100%; 
    transition: all 0.35s ease;
    position: relative; 
    overflow: hidden;
}

.virtuo-card:hover { 
    transform: translateY(-7px); 
    border-color: var(--primary); 
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.12); 
}

.virtuo-icon { 
    width: 70px; 
    height: 70px; 
    background: rgba(56, 189, 248, 0.1); 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.8rem; 
    color: var(--primary); 
    margin-bottom: 25px; 
    transition: transform 0.3s ease; 
}

.virtuo-card:hover .virtuo-icon { 
    transform: scale(1.08) rotate(4deg); 
}

.step-number { 
    font-size: 2.4rem; 
    font-weight: 800; 
    color: rgba(56, 189, 248, 0.2); 
    position: absolute; 
    top: 22px; 
    right: 25px; 
}


/* ==========================================================================
   ৬. সিভি ও এডুকেশন টাইমলাইন
   ========================================================================== */
.resume-box { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 22px; 
    padding: 42px 35px; 
    height: 100%; 
    transition: transform 0.3s ease; 
}

.resume-box:hover { 
    transform: translateY(-4px); 
    border-color: rgba(56, 189, 248, 0.4); 
}

.timeline-item { 
    border-left: 2px solid var(--primary); 
    padding-left: 28px; 
    margin-bottom: 32px; 
    position: relative; 
}

.timeline-item::before { 
    content: ''; 
    position: absolute; 
    left: -7px; 
    top: 5px; 
    width: 12px; 
    height: 12px; 
    background: var(--primary); 
    border-radius: 50%; 
    box-shadow: 0 0 8px var(--primary); 
}

.timeline-date { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 0.95rem; 
    text-transform: uppercase; 
    margin-bottom: 8px; 
    display: block; 
}

/* ==========================================================================
   ৭. প্রজেক্ট কার্ড ও ছবির ফ্রেম (PERFECT PRESTIGE DESIGN FIX)
   --------------------------------------------------------------------------
   - আপনার আগের প্রিমিয়াম ডিজাইন ও অনুপাত ফিরিয়ে আনা হয়েছে।
   - ছবি কোনো কাটা ছাড়াই কার্ডের সাথে ১০০% নিখুঁতভাবে ফিট হবে।
   ========================================================================== */
.project-card { 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid var(--border-color); 
    background: var(--bg-card); 
    transition: all 0.35s ease; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}

.project-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary); 
    box-shadow: 0 18px 35px rgba(0,0,0,0.5); 
}

/* ১. Client Live Projects (#works) এর জন্য ব্যানার মাপে পারফেক্ট ফ্রেম (16:9 Aspect Ratio) */
#works .project-img-container { 
    position: relative; 
    width: 100%;
    aspect-ratio: 16 / 9;      /* আপনার লাইভ প্রজেক্টের ব্যানারগুলোর আসল চওড়া মাপ */
    background: #070d1b; 
    display: block; 
    border-bottom: 1px solid var(--border-color); 
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#works .project-img { 
    width: 100%; 
    height: 100%; 
             
    object-position: top center; /* ব্যানারগুলোর ওপরের মূল হেডিং অংশ নিখুঁত দেখাবে */
    display: block;
    transition: transform 0.4s ease; 
}

/* ২. Tested Projects & Concepts (#showcase) এর ফ্রেম (4:3 Aspect Ratio) */
#showcase .project-img-container { 
    position: relative; 
    width: 100%;
    aspect-ratio: 4 / 3;       
    background: transparent; 
    display: block; 
    border-bottom: 1px solid var(--border-color); 
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#showcase .project-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;         
    object-position: center;   
    display: block;
    transition: transform 0.4s ease; 
}

/* হোভার করলে প্রিমিয়াম জুম ইফেক্ট */
.project-card:hover .project-img { 
    transform: scale(1.05); 
}

.project-body { 
    padding: 24px 22px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.project-body h4 {
    margin-bottom: 10px !important;
    font-size: 1.2rem !important;
    line-height: 1.4;
    color: #ffffff;
}

.project-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: var(--text-muted);
}
/* ==========================================================================
   ৮. ক্লায়েন্ট রিভিউ ও সোশ্যাল মিডিয়া
   ========================================================================== */
.testimonial-card {
    background: var(--bg-card); 
    border: 1px solid var(--border-color);
    border-radius: 22px; 
    padding: 35px 28px; 
    height: 100%; 
    transition: 0.3s;
}

.testimonial-card:hover { 
    border-color: var(--primary); 
    transform: translateY(-4px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.3); 
}

.star-rating { 
    color: var(--accent-gold); 
    margin-bottom: 16px; 
}

.client-avatar { 
    width: 52px; 
    height: 52px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid var(--primary); 
    margin-right: 14px; 
}

.social-channel-card {
    background: var(--bg-card); 
    border: 1px solid var(--border-color);
    border-radius: 20px; 
    padding: 24px 28px; 
    display: flex; 
    align-items: center; 
    transition: 0.3s; 
    text-decoration: none; 
    height: 100%;
}

.social-channel-card:hover { 
    border-color: var(--primary); 
    transform: translateY(-4px); 
    background: rgba(56, 189, 248, 0.06); 
}

.social-icon { 
    font-size: 2.4rem; 
    margin-right: 20px; 
}

.social-channel-card p { 
    color: #cbd5e1 !important; 
    margin: 0; 
    font-size: 0.95rem; 
}


/* ==========================================================================
   ৯. যোগাযোগ ফর্ম ও ফুটার
   ========================================================================== */
.form-control { 
    background: #070d1b; 
    border: 1px solid var(--border-color); 
    color: #fff; 
    padding: 16px 20px; 
    border-radius: 12px; 
    font-size: 1rem; 
    transition: all 0.3s ease; 
}

.form-control:focus { 
    background: #070d1b; 
    border-color: var(--primary); 
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2); 
    color: #fff; 
}

.form-control::placeholder { 
    color: #94a3b8; 
}

footer {
    border-color: var(--border-color) !important;
}


/* ==========================================================================
   ১০. রেসপন্সিভ মিডিয়া কুয়েরি
   ========================================================================== */
@media (max-width: 1199px) {
    .navbar-collapse {
        background: var(--bg-card);
        padding: 22px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid var(--border-color);
    }
    .nav-link {
        margin: 8px 0;
    }
    .btn-nav {
        margin-top: 10px;
        display: inline-block;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .hero-description {
        font-size: 1.05rem;
    }
    .btn-virtuo, .btn-outline-virtuo {
        width: 100%;
        text-align: center;
        padding: 13px 26px;
    }
    .hero-img-wrapper {
        max-width: 320px;
    }
    .hero-img-wrapper img {
        height: 360px;
    }
    .project-body {
        padding: 22px 18px;
    }
}

/* পুরো পেজে ইনস্ট্যান্ট ও স্মুথ স্ক্রোলিং নিশ্চিত করার জন্য */
html {
    scroll-behavior: smooth;
}