/* ===== CSS শুরু ===== */
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Dancing+Script:wght@700&display=swap');
        
        * {
            margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth;
        }

        :root {
            --primary: #ff2d2d;
            --primary-dark: #d61f1f;
            --hover-blue: #0066ff;
            --bg: #0a0a0a;
            --bg-card: #1a1a1a;
            --text: #ffffff;
            --text-gray: #b0b0b0;
        }

        body {
            font-family: 'Poppins', sans-serif; background: var(--bg);
            color: var(--text); overflow-x: hidden;
        }

        /* ===== 1. HEADER ===== */
        header {
            position: fixed; top: 0; left: 0; width: 100%;
            background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
            z-index: 1000; padding: 20px 5%; border-bottom: 1px solid #222;
        }

        .header-container {
            display: flex; justify-content: space-between; align-items: center;
            max-width: 1400px; margin: 0 auto;
        }

        .logo { 
            font-size: 24px; font-weight: 700; color: var(--text); 
            white-space: nowrap;
        }
        .logo span { color: var(--primary); }

        .nav-menu {
            display: flex; gap: 15px; background: var(--bg-card);
            padding: 10px 25px; border-radius: 50px; border: 1px solid #333;
        }

        .nav-menu a {
            color: var(--text-gray); text-decoration: none; font-size: 15px;
            font-weight: 500; transition: 0.3s; padding: 5px 10px;
        }

        .nav-menu a:hover, .nav-menu a.active { color: var(--primary); }

        .lets-talk {
            background: var(--primary); color: white; padding: 12px 28px;
            border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s;
        }

        .lets-talk:hover { background: var(--hover-blue); transform: translateY(-2px); }
        .mobile-menu { display: none; font-size: 24px; cursor: pointer; }

        .mobile-nav {
            display: none; position: absolute; top: 100%; right: 5%;
            background: var(--bg-card); border: 1px solid #333; border-radius: 15px;
            padding: 15px; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .mobile-nav.active { display: block; }
        .mobile-nav a {
            display: block; color: var(--text-gray); text-decoration: none;
            padding: 12px 15px; border-radius: 8px; transition: 0.3s;
        }
        .mobile-nav a:hover { background: var(--primary); color: white; }

        /* ===== 2. HERO SECTION ===== */
        #home {
            min-height: auto; display: flex; align-items: center;
            padding: 120px 5% 0px; max-width: 1400px; margin: 0 auto;
            position: relative;
            background-image: 
                radial-gradient(ellipse at 50% 65%, rgba(255, 45, 45, 0.2) 0%, transparent 60%),
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 100% 100%, 50px 50px, 50px 50px;
        }

        .hero-container {
            display: grid; 
            grid-template-columns: 1fr auto 1fr;
            gap: 40px; align-items: center; width: 100%;
        }

        .hero-center {
            grid-column: 1 / 4;
            grid-row: 1;
            text-align: center;
            z-index: 2;
            pointer-events: none;
        }

        .hero-center h3 {
            font-family: 'Dancing Script', cursive;
            font-size: 32px;
            color: var(--primary);
            font-weight: 900;
            margin-bottom: -20px;
            position: relative;
            z-index: 1;
        }

        .hero-center h1 {
            font-size: 90px;
            font-weight: 800;
            line-height: 1;
            text-transform: uppercase;
            white-space: nowrap;
            z-index: 1;
        }

        .hero-left {
            grid-column: 1;
            grid-row: 2;
            padding-right: 0px;
        }

        .hero-left .intro {
            font-size: 18px; color: var(--text-gray); margin-bottom: -15px;
        }

        .hero-left .name {
            font-size: 42px; font-weight: 700; color: rgb(255, 255, 255);
            margin-bottom: 5px; position: relative;
            white-space: nowrap;
            display: inline-block;
        }
        .name span{
            color: red;
        }
        .hero-left .name::after {
            content: ''; position: absolute; bottom: 8px; left: 0;
            width: 100%; height: 3px; background: var(--primary);
        }

        .hero-left .desc {
            font-size: 22px; color: var(--text-gray); line-height: 1.3;
            margin-bottom: 25px; max-width: 450px;
        }

        .learn-more {
            background: var(--primary); color: white; padding: 13px 32px;
            border-radius: 50px; text-decoration: none; font-weight: 600;
            display: inline-block; transition: 0.3s;
        }

        .learn-more:hover {
            background: var(--primary-dark); transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 45, 45, 0.4);
        }

        .hero-photo {
            grid-column: 2;
            grid-row: 1 / span 3;
            width: 500px;
            height: 700px;
            position: relative;
            z-index: 10;
            justify-self: center;
            align-self: end;
            margin-top: 75px;
            overflow: hidden;
            background: transparent;
            border: none;
        }

        .hero-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            display: block;
            -webkit-mask-image: linear-gradient(to top, transparent 0%, black 25%);
            mask-image: linear-gradient(to top, transparent 0%, black 25%);
        }
        
        .hero-photo::before {
            content: '';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 120%; height: 120%;
            filter: blur(60px);
            z-index: -1;
        }

        .hero-right {
            grid-column: 3;
            grid-row: 2;
            display: flex; flex-direction: column; align-items: center;
            gap: 30px; padding-left: 20px;
        }

        .scroll-icon {
            font-size: 45px; color: var(--primary);
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        .social-icons {
            display: flex; flex-direction: column; gap: 20px;
        }

        .social-icons a {
            width: 50px; height: 50px; background: var(--bg-card);
            border-radius: 50%; display: flex; align-items: center;
            justify-content: center; color: var(--text); font-size: 22px;
            transition: 0.3s; border: 1px solid #333;
        }

        .social-icons a:hover {
            background: var(--primary);
        }

        /* ===== বাকি সব সেকশন ===== */
        section { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
        .section-title { font-size: 48px; font-weight: 700; text-align: center; margin-bottom: 60px; }
        .section-title span { color: var(--primary); }

       /* My Work */
.work-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; }
.tab-btn {
    padding: 12px 35px; background: var(--bg-card); border: 1px solid #333;
    color: var(--text-gray); border-radius: 50px; cursor: pointer;
    font-weight: 600; transition: 0.3s;
}
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.video-container { overflow: hidden; position: relative; }

/* Vertical - 1 লাইন স্মুথ স্ক্রল */
.video-track.vertical-track { 
    display: flex; 
    gap: 25px; 
    width: max-content;
    animation: scrollVertical 25s linear infinite; 
}
.video-track.vertical-track:hover { animation-play-state: paused; }

@keyframes scrollVertical { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* Horizontal - 2 লাইন স্মুথ স্ক্রল */
.video-track.horizontal-track { 
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    gap: 25px; 
    width: max-content;
    animation: scrollHorizontal 30s linear infinite; 
}
.video-track.horizontal-track:hover { animation-play-state: paused; }

@keyframes scrollHorizontal { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

.video-thumb {
    min-width: 300px; height: 533px; background: var(--bg-card);
    border-radius: 20px; cursor: pointer; position: relative;
    overflow: hidden; border: 1px solid #333; transition: 0.3s;
}
.video-thumb video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-thumb.long { min-width: 400px; height: 225px; }
.video-thumb:hover { transform: scale(1.05); border-color: var(--primary); }
.video-thumb::after {
    content: '\f144'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 60px; color: white; opacity: 0.8; pointer-events: none; z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95);
    align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-content { position: relative; max-width: 90%; max-height: 90%; }
.modal video { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.close-modal { position: absolute; top: -40px; right: 0; font-size: 35px; color: white; cursor: pointer; }

        /* Service */
        .service-grid { 
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; 
        }
        .service-card {
            background: var(--bg-card); padding: 45px 35px; border-radius: 20px;
            border: 1px solid #333; transition: 0.4s; position: relative; overflow: hidden;
        }
        .service-card::before {
            content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 45, 45, 0.1), transparent);
            transition: 0.5s;
        }
        .service-card:hover::before { left: 100%; }
        .service-card:hover {
            transform: translateY(-10px); border-color: var(--primary);
            box-shadow: 0 20px 50px rgba(255, 45, 45, 0.3);
        }
        .service-card i { font-size: 55px; color: var(--primary); margin-bottom: 20px; display: block; }
        .service-card h3 { font-size: 24px; margin-bottom: 15px; }
        .service-card p { color: var(--text-gray); line-height: 1.8; font-size: 15px; }

        /* About */
        .about-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center; }
        .about-img-wrapper { position: relative; width: 100%; max-width: 400px; margin: 0 auto; }
        .about-img {
            width: 100%; 
            height: 500px; 
            background: radial-gradient(circle at 50% 0%, #2a1a1a, #0d0d0d); 
            border-radius: 30px; 
            border: 1px solid rgba(255, 45, 45, 0.2);
            position: relative; 
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0px;
            box-shadow: 0 0 60px rgba(255, 45, 45, 0.15),
                        inset 0 0 40px rgba(0, 0, 0, 0.6);
        }

        .about-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 60% center;
            border-radius: 0px;
            transform: translateY(0px);
        }
        .app-icon {
            position: absolute; width: 70px; height: 70px; background: var(--bg-card);
            border-radius: 15px; display: flex; align-items: center; justify-content: center;
            font-size: 35px; border: 1px solid #333; animation: float 3s ease-in-out infinite;
            z-index: 2;
        }
        .app-icon:nth-child(2) { top: -20px; left: -20px; color: #9999ff; animation-delay: 0s; }
        .app-icon:nth-child(3) { bottom: -20px; left: -20px; color: white; animation-delay: 1s; }
        .app-icon:nth-child(4) { bottom: -20px; right: -20px; color: #00a4e4; animation-delay: 1.5s; }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(5deg); }
        }
        
        .counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
        .counter-box { text-align: center; background: var(--bg-card); padding: 25px; border-radius: 15px; border: 1px solid #333; }
        .counter-box h2 { font-size: 48px; color: var(--primary); margin-bottom: 5px; }
        .counter-box p { color: var(--text-gray); font-size: 14px; }
        .about-text { color: var(--text-gray); line-height: 1.9; font-size: 16px; margin-bottom: 15px; }
        .about-text strong { color: var(--text); }

        /* Contact */
        .contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
        .contact-info { display: flex; flex-direction: column; gap: 30px; }
        .info-box { background: var(--bg-card); padding: 30px; border-radius: 15px; border: 1px solid #333; }
        .info-box i { font-size: 30px; color: var(--primary); margin-bottom: 15px; }
        .info-box h4 { font-size: 18px; margin-bottom: 8px; }
        .info-box a { color: var(--text-gray); text-decoration: none; }
        .contact-form input, .contact-form textarea {
            width: 100%; padding: 15px 20px; background: var(--bg-card);
            border: 1px solid #333; border-radius: 10px; color: var(--text);
            margin-bottom: 20px; font-family: 'Poppins', sans-serif; font-size: 15px;
        }
        .contact-form textarea { height: 150px; resize: none; }
        .contact-form button {
            background: var(--primary); color: white; padding: 15px 40px;
            border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s;
        }
        .contact-form button:hover { background: var(--primary-dark); }

        /* Footer */
        footer { background: var(--bg-card); padding: 40px 5%; text-align: center; border-top: 1px solid #333; }
        .footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
        .footer-social a {
            width: 45px; height: 45px; background: var(--bg); border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--text); font-size: 20px; transition: 0.3s;
        }
        .footer-social a:hover { background: var(--primary); }

        /* WhatsApp Float */
        .whatsapp-float {
            position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
            background: #25D366; border-radius: 50%; display: flex; align-items: center;
            justify-content: center; font-size: 32px; color: white;
            box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5); z-index: 999;
            transition: 0.3s; animation: pulse 2s infinite;
        }
        .whatsapp-float:hover { transform: scale(1.1); }
        @keyframes pulse {
            0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5); }
            50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8); }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-container { grid-template-columns: 1fr; text-align: center; }
            .hero-center { grid-column: 1; grid-row: 1; }
            .hero-photo {
                width: 585px;          
                height: 660px;         
                margin: -65px auto 0 auto;
                grid-column: 1;
                grid-row: 2;
            }
            .hero-left { grid-column: 1; grid-row: 3; padding-right: 0; text-align: center; }
            .hero-left .name::after { left: 50%; transform: translateX(-50%); }
            .hero-right { grid-column: 1; grid-row: 4; padding-left: 0; }
            .social-icons { flex-direction: row; }
            .social-icons a:hover { transform: translateY(-5px); }
            .about-container, .contact-container { grid-template-columns: 1fr; gap: 50px; }
            .service-grid { grid-template-columns: repeat(2, 1fr); }
        }

        /* ===== PC FIX 981px - সবার নিচে ===== */
        @media (min-width: 981px) {
            .hero-container { 
                grid-template-columns: 1fr auto 1fr; 
                text-align: left; 
                gap: 40px;
                align-items: start;
            }
            .hero-center { 
                grid-column: 1 / 4; 
                grid-row: 1; 
                z-index: 5;
                pointer-events: none;
            }
            .hero-center h3 {
                font-size: 50px;
                margin-top: 5px;
                position: relative;
                z-index: 6;
            }
            .hero-center h1 {
                font-size: 110px;
                white-space: nowrap;
                line-height: 1;
                margin-top: -35px;
            }
            .hero-photo {
                width: 500px;          
                height: 700px;         
                margin: 75px auto 0 auto;
                grid-column: 2;
                grid-row: 1 / span 3;
                z-index: 20; 
                border-radius: 20px;
            }
            .hero-left { 
                grid-column: 1; 
                grid-row: 2; 
                padding-right: 0; 
                text-align: left; 
                z-index: 10;
            }
            .hero-left .name::after { 
                left: 0; 
                transform: none; 
            }
            .hero-right { 
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 999;
    
    grid-column: unset;
    grid-row: unset;
    padding-left: 0;
    flex-direction: column;
    align-items: center;
}
            .social-icons { flex-direction: column; }
            .social-icons a:hover { transform: translateX(-5px); }
            .about-container, .contact-container { grid-template-columns: 1fr 1.5fr; gap: 80px; }
            .service-grid { grid-template-columns: repeat(3, 1fr); }
            .about-img img {
            width: 100%;
            height: auto;
            object-fit: contain;
            object-position: 60% center;
            border-radius: 0px;
            transform: translateY(15px);
        }
    }

        @media (max-width: 768px) {
            .nav-menu { display: none; }
            .mobile-menu { display: block; }
            .lets-talk { display: none; }
            .hero-center h1 { font-size: 42px; }
            .hero-center h3 { font-size: 25px; margin-bottom: -13px; z-index: 3; }
            .hero-left .name { font-size: 32px; }
            .hero-photo {
                width: 450px;          
                height: 550px;         
                margin: -55px auto 0 auto;
                grid-column: 1;
                grid-row: 2;
            }
            .section-title { font-size: 36px; }
            .video-thumb { min-width: 250px; height: 444px; }
            .video-thumb.long { min-width: 300px; height: 169px; }
            .counters { grid-template-columns: 1fr; }
            .service-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 480px) {
            .hero-photo {
                width: 320px;          
                height: 420px;         
                margin: -55px auto 0 auto;
            }
            .hero-center h1 { font-size: 36px; }
            .hero-center h3 {
                font-size: 20px;
                margin-bottom: -10px;
                z-index: 3; 
            }
            .about-img img {
            width: 110%;
            height: 110%;
            object-fit: contain;
            object-position: 60% center;
            border-radius: 0px;
            transform: translateY(15px);
}
        }
/* ===== মোবাইল ডেস্কটপ মোড + ট্যাব - 980px থেকে 1279px ===== */
@media (min-width: 980px) and (max-width: 1279px) {
    #home { padding: 100px 2% 0px; }
    .hero-container { 
        display: grid;
        grid-template-columns: 1fr 280px 1fr; 
        text-align: left; 
        gap: 8px;
        align-items: start;
        padding: 0 8px;
        overflow: hidden;
    }
    .hero-center { 
        grid-column: 1 / 4; 
        grid-row: 1; 
        z-index: 5;
        pointer-events: none;
    }
    .hero-center h3 {
        font-size: 20px;
        margin-top: 10px;
    }
    .hero-center h1 {
        font-size: 70px;
        white-space: nowrap;
        line-height: 1;
        letter-spacing: -3px; 
        margin-top: 5px;
    }
    .hero-photo {
        width: 280px;          
        height: 390px;        
        margin: 60px auto 0 auto;
        grid-column: 2;
        grid-row: 1 / span 3;
        z-index: 20; 
        border-radius: 12px;
    }
    .hero-left { 
        grid-column: 1; 
        grid-row: 2; 
        padding-right: 5px;
        text-align: left; 
        z-index: 10;
        max-width: 200px;
    }
    .hero-left .intro { font-size: 13px; }
    .hero-left .name { font-size: 26px; margin-top: 5px;}
    .hero-left .name::after { left: 0; transform: none; }
    .hero-left .desc {
        font-size: 15px;
        line-height: 1.3;
        max-width: 500px;
    }
    .learn-more {
        padding: 9px 20px;
        font-size: 12px;
    }
    .hero-right { 
    position: fixed;
    top: 45%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    
    grid-column: unset;
    grid-row: unset;
    padding-right: 0;
    flex-direction: column;
    align-items: center;
    justify-self: unset;
    max-width: unset;
}
    .scroll-icon { 
        font-size: 28px;
        color: var(--primary);
        animation: bounce 2s infinite;
    }
    .social-icons { 
        display: flex;
        flex-direction: column;
        gap: 12px; 
        align-items: center;
    }
    .social-icons a {
        width: 38px; 
        height: 38px;
        font-size: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border);
        transition: all 0.3s ease;
    }
    .social-icons a:hover { 
        background-color: var(--primary);
        color: #121212;
        transform: translateX(-5px);
    }
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-10px); }
        60% { transform: translateY(-5px); }
    }
             .about-img img {
            width: 105%;
            height: 105%;
            object-fit: contain;
            object-position: 60% center;
            border-radius: 0px;
            transform: translateY(10px);
}
}
  @media (min-width: 980px) and (max-width: 981px) {
    .hero-right { 
    position: fixed;
    top: 20%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    
  }
}