/* SIDEBARS */
        .social-bar, .contact-bar { position: fixed; top: 50%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; }
        .social-bar { right: 0; }
        .contact-bar { left: 0; }
        .side-icon { width: 45px; height: 45px; color: #ffffff; margin: 2px 0; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); }
        .social-bar .side-icon { border-radius: 0 5px 5px 0; }
        .contact-bar .side-icon { border-radius: 5px 0 0 5px; }
        .fb { background-color: #1877f2; }
        .insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
        .utube { background-color: #ff0000; }
        .ln { background-color: #0077b5; }
        .call { background-color: #237ff7; }
        .wa { background-color: #25D366; }
        
        .up-anim { transform: translateY(40px); opacity: 0; transition: 1s all ease; }
        .slide.active .up-anim { transform: translateY(0); opacity: 1; }

        @media (max-width:768px){
            .prev-btn{
                display: none;
            }
            .nav-btn{display: none;}

.social-bar{
    display:none !important;
}

.contact-bar{
    position:fixed;
    right:15px;
    left:auto !important;
    bottom:80px;
    top:auto !important;
    transform:none !important;
    z-index:9999;
}

.contact-bar .side-icon{
    width:55px;
    height:55px;
    border-radius:50%;
    margin:8px 0;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

}
        
        /* SECTION STYLES */
        .sec2-container { padding: 60px 20px; overflow-x: hidden; font-family: 'Plus Jakarta Sans', sans-serif; max-width: 1200px; margin: auto; }
        .section2 { margin-bottom: 40px; }
        .flex-row { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; margin-top: 40px; }
        .text-side, .img-side { flex: 1; min-width: 320px; }
        .animate-pop { color: var(--text); text-align: center; text-transform: uppercase; font-size: 32px; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; opacity: 0; transform: translateX(-80px); transition: 1s ease-out; }
        .animate-pop.active { opacity: 1; transform: translateX(0); }
        .typewriter { opacity: 0; text-align: center; font-size: 17px; color: var(--text-body); line-height: 1.8; max-width: 800px; margin: 0 auto 30px auto; min-height: 50px; transition: 0.5s; }
        .typewriter.active { opacity: 1; }
        .reveal-left { opacity: 0; transform: translateX(-120px); transition: 1.5s cubic-bezier(0.22, 1, 0.36, 1); }
        .reveal-left.active { opacity: 1; transform: translateX(0); }
        .img-side img { width: 100%; height: auto; border-radius: 15px; }
        .text-side h3 { font-size: 24px; color: var(--text); margin-bottom: 20px; }
        .text-side ul { 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: flex-start !important; 
    gap: 15px !important; 
    padding: 0; 
    margin-bottom: 30px; 
    list-style: none;
    width: 100%;
}
.text-side li { 
    width: 100% !important; 
    text-align: left !important; 
    font-weight: 600; 
    font-size: 16px; 
    color: var(--text-body); 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.text-side li i { color: var(--primary); font-size: 20px; flex-shrink: 0; }
        
        
        .bn { background: var(--primary); color: #ffffff; padding: 14px 35px; display: inline-block; border-radius: 50px; cursor: pointer; opacity: 0; transform: scale(0); font-weight: bold; transition: var(--transition); text-transform: uppercase; border: none; }
        .bn:hover { background: var(--primary-hover); }
        .bn.active { opacity: 1; transform: scale(1); }
        
        .sec3-container { margin: 15px 15px; background-color: var(--section-bg); text-align: center; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding: 40px 60px; border-radius: 16px; }
        .sec3-header h2 { color: var(--text); font-size: 28px; text-transform: uppercase; margin-bottom: 40px; font-weight: 800; }
        .various-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
        .various-card { background: var(--card-bg); padding: 15px 20px; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; position: relative; transition: var(--transition); cursor: pointer; animation: floatAnimation 3s ease-in-out infinite; }
        .various-grid div:nth-child(even) { animation-delay: 1s; }
        .various-grid div:nth-child(3n) { animation-delay: 1.5s; }
        @keyframes floatAnimation { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
        .various-card:hover { animation-play-state: paused; background: var(--primary); color: #ffffff; transform: scale(1.05); box-shadow: 0 10px 25px rgba(37,99,235,0.3); z-index: 10; }
        .various-card i { font-size: 35px; color: var(--primary); margin-bottom: 15px; transition: var(--transition); }
        .various-card:hover i { color: #ffffff; transform: rotateY(180deg); }
        .various-card h3 { font-size: 18px; margin: 0; font-weight: 600; }
        
        .sec4-container { position: relative; padding: 100px 20px; display: flex; justify-content: center; align-items: center; text-align: center; color: #ffffff; overflow: hidden; min-height: 450px; }
        .sec4-bg-layer { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(114, 153, 235, 0.75), rgba(198, 212, 233, 0.8)), url('imgs/Projectdeserves.jpeg'); background-size: cover; background-position: center; z-index: -1; opacity: 0; transform: scale(1.5); transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 1s ease; }
        .s4 { max-width: 850px; opacity: 0; transform: translateY(40px); transition: all 1s ease-out 0.3s; color: #ffffff; }
        .sec4-container.reveal-bg .sec4-bg-layer { opacity: 1; transform: scale(1); }
        .sec4-container.reveal-bg .s4 { opacity: 1; transform: translateY(0); }
        .btn-group { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
        .s4 button { border: none; padding: 15px 35px; font-size: 16px; font-weight: bold; border-radius: 50px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: var(--transition); color: #ffffff; }
        .call-btn { background-color: var(--primary); }
        .call-btn:hover { background-color: var(--primary-hover); }
        .quote-btn { background-color: #ffffff; color: var(--primary) !important; text-decoration: none; }
        .quote-btn:hover { background-color: #EFF6FF; }
        .s4 button:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
        .s4 button img { width: 20px; height: auto; filter: brightness(0) invert(1); }
        .quote-btn img { filter: none; }

        
        
        .sec5-container { padding: 80px 20px; background-color: var(--section-bg); text-align: center; overflow: hidden; }
        .sec5-title { font-size: 36px; color: var(--text); margin-bottom: 50px; text-transform: uppercase; opacity: 0; transform: translateY(-50px); transition: all 0.8s ease-out; }
        .sec5-container.active .sec5-title { opacity: 1; transform: translateY(0); }
        .sec5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
        .sec5-box { background: var(--card-bg); padding: 40px 25px; border-radius: 15px; box-shadow: var(--shadow); opacity: 0; transform: translateY(50px); transition: var(--transition); cursor: pointer; border: 1px solid var(--border); }
        .sec5-box:hover { background: var(--primary); color: #ffffff !important; transform:translateY(-10px); border-color: var(--primary); }
        .sec5-box h3 { font-size: 22px; margin-bottom: 15px; transition: var(--transition); color: var(--text); }
        .sec5-box:hover h3 { color: #ffffff; }
        .sec5-box p { font-size: 15px; color: var(--text-body); line-height: 1.6; transition: var(--transition); }
        .sec5-box:hover p { color: rgba(255,255,255,0.9); }
        .sec5-btn { margin-top: 20px; padding: 10px 20px; background: var(--primary); color: #ffffff; border: none; border-radius: 8px; cursor: pointer; transition: var(--transition); }
        .sec5-box:hover .sec5-btn { background: #ffffff; color: var(--primary); font-weight: bold; }
        .sec5-container.active .sec5-box:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
        .sec5-container.active .sec5-box:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
        .sec5-container.active .sec5-box:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
        .sec5-container.active .sec5-box:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
        .sec5-container.active .sec5-box:nth-child(5) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
        .sec5-container.active .sec5-box:nth-child(6) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }

        .sec6-container { padding: 60px 5%; background-color: var(--bg); }
        .tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
        .tech-card { border: 1px solid var(--border); padding: 20px; text-align: center; background: var(--card-bg); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; height: 110px; transition: var(--transition); border-radius: 12px; }
        .tech-card:hover { transform: translateY(-5px); border-color: var(--accent); }
        .tech-card i { font-size: 40px; margin-bottom: 8px; }
        .tech-card span { font-size: 14px; font-weight: 600; color: var(--text-body); }
        .fa-html5 { color: #E34F26; } .fa-css3-alt { color: #1572B6; } .fa-bootstrap { color: #7952B3; } .fa-js { color: #F7DF1E; } .fa-laravel { color: #FF2D20; } .fa-react { color: #61DAFB; } .fa-php { color: #777BB4; } .ps-icon { font-weight: bold; color: #31A8FF; font-size: 28px; }

        .sec7-container { position: relative; background: linear-gradient(rgba(97, 155, 214, 0.92), rgba(175, 211, 247, 0.95)), url('imgs/Choose\ Us\ As\ Your\ Growth\ Partner.avif') no-repeat center center/cover; padding: 80px 5%; color: var(--text); text-align: center; }
        .sec7-container h2 { color: var(--text); }
        .sec7-container p { color: var(--text-body); }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 40px auto 0 auto; }
        .stat-item h3 { font-size: 48px; color: var(--primary); margin-bottom: 5px; font-weight: 700; }
        .stat-item p { font-size: 16px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

        .sec8-container { padding: 80px 5%; background-color: var(--section-bg); }
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; }
        .process-card { background: var(--card-bg); padding: 30px 20px; border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow); transition: var(--transition); border-radius: 12px; }
        .process-card:hover { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12); transform: translateY(-4px); }
        .process-card .step-num { width: 40px; height: 40px; background-color: var(--primary); color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 20px auto; border-radius: 50%; }
        .process-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--text); }
        .process-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

        .sec9-container { padding: 80px 5%; background-color: var(--bg); }
        .brand-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; }
        .service-block { background-color: var(--section-bg); border-left: 4px solid var(--primary); padding: 30px; display: flex; flex-direction: column; justify-content: center; transition: var(--transition); border-radius: 0 12px 12px 0; }
        .service-block:hover { background-color: var(--card-bg); box-shadow: var(--shadow); }
        .service-block h3 { font-size: 20px; color: var(--text); margin-bottom: 10px; }
        .service-block p { font-size: 14px; color: var(--text-body); line-height: 1.5; }
        .service-block.center-brand { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-left: none; color: #ffffff; text-align: center; align-items: center; border-radius: 12px; }
        .service-block.center-brand h2 { font-size: 28px; color: #ffffff; }
        .service-block.center-brand h2 span { color: var(--accent); }
        .service-brand p { color: rgba(255,255,255,0.85); font-style: italic; margin-top: 5px; }

        .sec10-container { padding: 80px 5%; background-color: var(--section-bg); }
        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
        .blog-card { background: var(--card-bg); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); border-radius: 12px; box-shadow: var(--shadow); }
        .blog-card:hover { transform: translateY(-5px); }
        .blog-img-placeholder { height: 200px; background-color: var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-weight: bold; }
        .blog-content { padding: 20px; flex-grow: 1; }
        .blog-content h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
        .blog-content p { font-size: 14px; color: var(--text-body); margin-bottom: 20px; line-height: 1.5; }
        .readmore-btn { display: inline-block; padding: 8px 18px; background-color: var(--primary); color: #ffffff; text-decoration: none; font-size: 13px; font-weight: bold; transition: var(--transition); border-radius: 6px; }
        .readmore-btn:hover { background-color: var(--primary-hover); }
#goToTopBtn { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 99; font-size: 18px; border: none; outline: none; background-color: var(--primary); color: #ffffff; cursor: pointer; padding: 12px 16px; border-radius: 50px; box-shadow: var(--shadow); transition: var(--transition); }
        #goToTopBtn:hover { background-color: var(--primary-hover); transform: scale(1.1); }

        /* MODAL POPUP STYLES FOR SERVICES (MEGA-MENU STYLE) */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.5); z-index: 9999; display: none; justify-content: center; align-items: center; }
        .modal-content { background: var(--card-bg); padding: 40px; border-radius: 12px; position: relative; max-width: 1000px; width: 95%; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; border: 1px solid var(--border); }
        .close-btn { position: absolute; top: 15px; right: 20px; cursor: pointer; font-size: 28px; color: var(--text-light); transition: var(--transition); }
        .close-btn:hover { color: var(--primary); }
        .modal-content h2 { margin-bottom: 30px; color: var(--text); text-align: center; font-size: 28px; font-weight: bold; }
        .modal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: left; }
        .modal-col h3 { font-size: 16px; margin-bottom: 15px; color: var(--text); border-bottom: 2px solid var(--primary); padding-bottom: 5px; font-weight: bold; }
        .modal-col p { font-size: 13px; margin: 10px 0; color: var(--text-light); cursor: pointer; transition: var(--transition); }
        .modal-col p:hover { color: var(--primary); }

        @media (max-width: 900px) {
            .modal-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
        }
        @media (max-width: 500px) {
            .modal-grid { grid-template-columns: 1fr; gap: 15px; }
        }

                /* ========================================================
   WORLD-CLASS PREMIUM HERO SECTION (DARK THEME & CENTERED)
   ======================================================== */
        .slider-container.snap-premium {
            position: relative;
            width: 100%;
            height: 100vh;
            min-height: 650px;
            overflow: hidden;
            background-color: #050914;
            display: flex;
            align-items: center;
        }

        /* Background Slide Styling */
        .snap-premium .slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transform: scale(1.05);
            transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 3s ease;
            z-index: 0;
        }

        .snap-premium .slide.active {
            opacity: 1;
            transform: scale(1);
            z-index: 1;
        }

        /* Desktop Gradient Overlay */
        .snap-premium .overlay {
            position: absolute;
            inset: 0;
            z-index: 2;
            transition: background 0.3s ease;
        }

        /* Text Container - Large Desktop View */
        .hero-text-wrapper {
            position: relative;
            z-index: 10;
            width: 45%;
            height: auto;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: left;
            padding: 0;
            margin-left: 10%;
            /* Percentage-based margin for better fluidity */
            margin-top: 300px;
        }

        /* Hide mobile card background on desktop */
        .mobile-card-bg {
            display: none;
        }

        /* Typography & Buttons */
        .hero-title {
            font-size: clamp(36px, 4.5vw, 65px);
            /* Fluid size according to screen */
            font-weight: 800;
            color: #ffffff;
            font-family: 'Plus Jakarta Sans', sans-serif;
            line-height: 1.15;
            margin-bottom: 20px;
            letter-spacing: -1px;
        }

        .hero-title span {
            color: rgb(255, 174, 53);
        }

        .hero-subtitle {
            font-size: clamp(16px, 1.5vw, 18px);
            color: #ffffff;
            line-height: 1.6;
            margin-bottom: 35px;
            max-width: 450px;
            font-family: 'Open Sans', sans-serif;
        }

        .hero-quote-btn {
            display: inline-block;
            padding: 16px 45px;
            background-color: rgb(255, 174, 53);
            color: #ffffff;
            font-size: 18px;
            font-weight: 600;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
        }

        .hero-quote-btn:hover {
            background-color: #1157b8;
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(24, 119, 242, 0.5);
        }

        /* Right Side Stacked Cards */
        .hero-card-track {
            position: absolute;
            right: 5%;
            top: 50%;
            transform: translateY(-50%);
            width: 40%;
            height: 400px;
            z-index: 10;
            pointer-events: none;
        }

        .h-card {
            position: absolute;
            top: 50%;
            width: 220px;
            /* Reduced desktop card size slightly for better fit */
            height: 320px;
            border-radius: 20px;
            background-size: cover;
            background-position: center;
            cursor: pointer;
            box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.7);
            transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
            transform-origin: center right;
            pointer-events: auto;
        }

        /* Bottom Dots */
        .snap-premium .dots {
            position: absolute;
            bottom: 60px;
            left: 10%;
            display: flex;
            gap: 12px;
            z-index: 10;
        }

        .snap-premium .dot {
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            cursor: pointer;
            transition: 0.3s ease;
        }

        .snap-premium .dot.active {
            background: #1877f2;
            transform: scale(1.3);
        }

        /* ================= TABLET RESPONSIVE (Fixes overlapping) ================= */
        @media(max-width: 1200px) {
            .hero-text-wrapper {
                width: 50%;
                margin-left: 5%;
                /* Brings text closer to edge on mid-size screens */
            }

            .hero-card-track {
                width: 45%;
                right: 2%;
            }

            .h-card {
                width: 180px;
                /* Scales down cards so they never block the text */
                height: 270px;
            }
        }

        /* ================= MOBILE & TABLET CARD BREAKPOINT ================= */
        @media(max-width: 992px) {

            /* Hide Desktop Cards */
            .hero-card-track {
                display: none !important;
            }

            /* Flex Center for Slide to keep Card in middle */
            .snap-premium .slide {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
            }

            /* Blur the main background image */
            .snap-premium .overlay {
                background: rgba(5, 9, 20, 0.6) !important;
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
            }

            /* Main Centered Card */
            .hero-text-wrapper {
                position: relative;
                width: 90%;
                max-width: 650px;
                min-height: auto;
                height: auto;
                border: 1px solid rgba(255, 255, 255, 0.15);
                border-radius: 25px;
                padding: 40px 24px;
                z-index: 10;
                overflow: hidden;
                box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
                margin: 0 auto !important;
                left: 0 !important;
                right: 0 !important;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: center;
            }

            /* Mobile Background Image + Gradient Inside Card */
            .mobile-card-bg {
                display: block;
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                background-size: cover !important;
                background-position: center !important;
                z-index: -1;
            }

            .hero-title {
                font-size: clamp(32px, 6vw, 48px) !important;
                margin-bottom: 15px;
            }

            .hero-subtitle {
                font-size: 16px !important;
                margin-bottom: 30px;
                max-width: 100%;
            }

            .snap-premium .dots {
                bottom: 30px;
                left: 50%;
                transform: translateX(-50%);
                z-index: 20;
            }

            .hero-quote-btn {
                font-size: 16px;
                padding: 14px 35px;
            }
        }

        /*
.portfolio-wrapper {
            padding: 80px 0;
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
        }

        .portfolio-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .portfolio-header h1 {
            font-size: 46px;
            font-weight: 800;
            color: #111111;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .portfolio-header h1 span {
            color: #1877f2; /* Professional Tech Blue Accent 
        }

        .portfolio-header p {
            font-size: 16px;
            color: #666666;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Category Filter Tabs 
        .portfolio-tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        .tab-btn {
            padding: 10px 24px;
            border: 2px solid #1877f2;
            background: transparent;
            color: #1877f2;
            font-weight: 600;
            font-size: 14px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
        }

        .tab-btn.active-tab, .tab-btn:hover {
            background-color: #1877f2;
            color: #ffffff;
            box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
        }

        /* Portfolio 6 Cards Grid Layout
        .portfolio-grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 30px;
        }

        .case-card {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #eeeeee;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .case-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(24, 119, 242, 0.12);
            border-color: rgba(24, 119, 242, 0.3);
        }

        .case-img-box {
            position: relative;
            width: 100%;
            height: 220px;
            overflow: hidden;
            background: #f5f5f5;
        }

        .case-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    

        .case-tag {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #1877f2;
            color: #ffffff;
            padding: 5px 12px;
            font-size: 11px;
            font-weight: 800;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .case-info {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .case-info h3 {
            font-size: 20px;
            color: #111111;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .case-info p {
            color: #555555;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        /* Metrics Data Structure 
        .case-metrics-row {
            display: flex;
            gap: 15px;
            border-top: 1px dashed #e5e7eb;
            padding-top: 15px;
            margin-top: auto;
        }

        .metric-block {
            flex: 1;
        }

        .metric-block strong {
            display: block;
            font-size: 18px;
            color: #1877f2;
            font-weight: 800;
        }

        .metric-block span {
            font-size: 12px;
            color: #777777;
        }

        /* ==========================================
           RESPONSIVE RE-ARCHITECTURE 
        ========================================== */
        @media(max-width: 768px) {
            .portfolio-wrapper {
                padding: 50px 0;
            }

            .portfolio-header h1 {
                font-size: 34px;
            }

            .portfolio-tabs {
                gap: 8px;
            }

            .tab-btn {
                padding: 8px 18px;
                font-size: 13px;
                width: 47%;
                text-align: center;
            }
        }

        @media(max-width: 480px) {
            .portfolio-header h1 {
                font-size: 28px;
            }

            .tab-btn {
                width: 100%;
            }

            .portfolio-grid-layout {
                grid-template-columns: 1fr;
            }
        }

        /* ==========================================
   PROFESSIONAL COMPACT REVIEWS GRID SYSTEM
========================================== */
        .reviews-wrapper {
            padding: 90px 0;
            background-color: #fafafa;
            /* Subtle light layout break */
            width: 100%;
        }

        .reviews-inner {
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
        }

        .reviews-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .reviews-header h2 {
            font-size: 42px;
            font-weight: 800;
            color: #111111;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .reviews-header h2 span {
            color: #1877f2;
            /* Blue Theme Highlight */
        }

        .reviews-header p {
            font-size: 16px;
            color: #666666;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* 3-Column Testimonial Grid Layout */
        .reviews-grid-system {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }

        .review-card {
            background: #ffffff;
            border: 1px solid #eeeeee;
            border-radius: 16px;
            padding: 35px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease;
        }

        /* Hover Micro-interactions */
        .review-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(24, 119, 242, 0.08);
            border-color: rgba(24, 119, 242, 0.25);
        }

        /* Quote Icon Element */
        .quote-top-mark {
            position: absolute;
            top: 30px;
            right: 35px;
            font-size: 38px;
            color: rgba(24, 119, 242, 0.1);
            font-family: serif;
            line-height: 1;
        }

        /* Star Rating Matrix */
        .rating-stars-row {
            margin-bottom: 20px;
            display: flex;
            gap: 4px;
        }

        .rating-stars-row i {
            color: #ffb703;
            /* Professional Gold Star Color */
            font-size: 14px;
        }

        /* Review Text Content */
        .review-body-text {
            font-size: 15px;
            color: #444444;
            line-height: 1.7;
            margin-bottom: 25px;
            font-style: normal;
            flex-grow: 1;
        }

        /* Author Profiling Structure */
        .review-author-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            border-top: 1px dashed #e5e7eb;
            padding-top: 20px;
            margin-top: auto;
        }

        .author-avatar-box {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            background: #eef2ff;
            border: 2px solid #ffffff;
            box-shadow: 0 0 0 2px #1877f2;
            /* Avatar blueprint ring */
        }

        .author-avatar-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-credentials h4 {
            font-size: 16px;
            font-weight: 700;
            color: #111111;
            margin-bottom: 3px;
        }

        .author-credentials span {
            font-size: 12px;
            color: #777777;
            font-weight: 500;
            display: block;
        }

        /* Mobile Responsive Adapters */
        @media(max-width: 768px) {
            .reviews-header h2 {
                font-size: 32px;
            }

            .review-card {
                padding: 25px;
            }
        }

        .premium-light-reveal {
            position: relative;
            padding: 140px 0;
            background-color: #f8fafc;
            overflow: hidden;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .light-mesh-bg {
            position: absolute;
            top: 10%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(24, 119, 242, 0.1) 0%, rgba(200, 200, 200, 0.1) 50%, rgba(255, 255, 255, 0) 70%);
            filter: blur(80px);
            z-index: 1;
            pointer-events: none;
        }

        .reveal-container {
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
            position: relative;
            z-index: 5;
            /* Keeps text firmly ABOVE the moving image */
        }

        .reveal-header h2 {
            font-size: 60px;
            line-height: 1.1;
            font-weight: 800;
            color: #0f172a;
            /* Dark text for header */
            margin-bottom: 80px;
            letter-spacing: -2px;
        }

        .reveal-header h2 span {
            color: #1877f2;
            /* Brand Blue */
        }

        .reveal-wrapper-list {
            display: flex;
            flex-direction: column;
            border-top: 1px solid #cbd5e1;
        }

        .reveal-item {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 50px 0;
            border-bottom: 1px solid #cbd5e1;
            cursor: pointer;
        }

        .reveal-content-box {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            width: 100%;
            gap: 40px;
            pointer-events: none;
        }

        /* --------------------------------------------------------------------------
   DEFAULT STATES (Muted/Light Text before Hover)
   -------------------------------------------------------------------------- */
        .row-idx {
            font-size: 16px;
            font-weight: 600;
            color: #94a3b8;
            /* Muted gray */
            margin-top: 8px;
            transition: color 0.3s ease;
        }

        .reveal-text {
            font-size: 52px;
            font-weight: 800;
            color: #cbd5e1;
            /* Very light gray, almost blends with background */
            flex: 1;
            letter-spacing: -1px;
            transition: color 0.3s ease;
        }

        .reveal-desc {
            font-size: 16px;
            line-height: 1.7;
            color: #94a3b8;
            /* Muted gray */
            max-width: 420px;
            transition: color 0.3s ease;
        }

        /* --------------------------------------------------------------------------
   HOVER STATES (Reverse Contrast: Text turns Dark/Sharp when image appears)
   -------------------------------------------------------------------------- */
        .reveal-item:hover .reveal-text {
            color: #0f172a;
            /* Sharp dark color like the video */
        }

        .reveal-item:hover .reveal-desc {
            color: #334155;
            /* Darker readable text */
        }

        .reveal-item:hover .row-idx {
            color: #1877f2;
            /* Pops to brand blue */
        }

        /* --------------------------------------------------------------------------
   FLUID IMAGE CANVAS LAYER (Behind Layer)
   -------------------------------------------------------------------------- */
        .reveal-canvas-mask {
            position: fixed;
            width: 350px;
            height: 350px;
            border-radius: 20px;
            overflow: hidden;
            pointer-events: none;
            z-index: 2;
            /* Sandwiched behind text */
            opacity: 0;
            transform: scale(0.6) rotate(-5deg);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }

        .canvas-img-holder {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transform: scale(1.1);
            transition: transform 0.5s ease;
        }

        .canvas-light-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.3);
            /* Slight white tint so dark text reads perfectly */
        }

        .reveal-canvas-mask.active {
            opacity: 1;
            transform: scale(1) rotate(2deg);
        }

        .reveal-canvas-mask.active .canvas-img-holder {
            transform: scale(1);
        }

        /* ==========================================================================
   MOBILE & TABLET: Staggered "Ek ke baad ek" Side Animation
   ========================================================================== */
        @media (max-width: 992px) {
            .reveal-text {
                font-size: 40px;
            }

            .reveal-canvas-mask {
                width: 320px;
                height: 380px;
            }
        }

        /* ==========================================================================
   LIGHT THEME REVEAL MODULE - RESPONSIVE OPTIMIZATION
   ========================================================================== */

        /* Tablet & Desktop (Bade Screens) - Tracking effect rahega */
        /* MOBILE ONLY: Staggered Side-Slide Animation */
        @media (max-width: 768px) {
            .premium-light-reveal {
                padding: 80px 20px;
            }

            .reveal-item {
                opacity: 0;
                transform: translateX(-40px);
                transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            }

            /* Animation trigger class */
            .reveal-item.show-mobile {
                opacity: 1;
                transform: translateX(0);
            }

            /* Staggered Delay (Ek ke baad ek) */
            .reveal-item:nth-child(1) {
                transition-delay: 0.1s;
            }

            .reveal-item:nth-child(2) {
                transition-delay: 0.3s;
            }

            .reveal-item:nth-child(3) {
                transition-delay: 0.5s;
            }

            /* Mobile Text Styling (Dark) */
            .reveal-text {
                font-size: 28px !important;
                color: #0f172a !important;
            }

            .reveal-desc {
                color: #475569 !important;
            }

            /* Image Purri tarah gayab */
            .reveal-canvas-mask {
                display: none !important;
            }
        }

        @media(max-width: 992px) {
            .reveal-text {
                font-size: 36px;
            }

            .reveal-canvas-mask {
                width: 320px;
                height: 380px;
            }

            .reveal-content-box {
                flex-direction: column;
                gap: 15px;
            }

            .reveal-desc {
                max-width: 100%;
            }
        }

        @media(max-width: 768px) {

            /* Structural Foundations */
            .portfolio-wrapper {
                padding: 50px 0;
            }

            .portfolio-tabs {
                gap: 8px;
            }

            .tab-btn {
                padding: 8px 18px;
                font-size: 13px;
                flex: 1 1 calc(50% - 8px);
                text-align: center;
            }

            .reviews-wrapper {
                padding: 60px 0;
            }

            .reviews-header {
                margin-bottom: 40px;
            }

            .review-card {
                padding: 25px;
            }

            /* Premium Reveal Transition Module Override */
            .premium-light-reveal {
                padding: 80px 0;
            }

            .reveal-header h2 {
                margin-bottom: 40px;
            }

            .reveal-item {
                opacity: 0;
                transform: translateX(-20px);
                transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
                padding: 30px 0;
            }

            .reveal-item.show-mobile {
                opacity: 1;
                transform: translateX(0);
            }

            .reveal-item:nth-child(1) {
                transition-delay: 0.1s;
            }

            .reveal-item:nth-child(2) {
                transition-delay: 0.2s;
            }

            .reveal-item:nth-child(3) {
                transition-delay: 0.3s;
            }

            .reveal-text {
                color: #0f172a !important;
            }

            .reveal-desc {
                color: #475569 !important;
            }

            .reveal-canvas-mask {
                display: none !important;
            }

            /* Native Element Global Corrections */
            .flex-row {
                flex-direction: column !important;
                gap: 30px;
            }

            .img-side,
            .text-side {
                width: 100% !important;
            }

            .various-grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
                gap: 15px !important;
            }

            .sec5-grid {
                grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
                gap: 20px !important;
            }

            .tech-grid {
                grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
                gap: 15px !important;
            }

            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
                gap: 20px !important;
            }

            .process-grid {
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
                gap: 25px !important;
            }

            .brand-services-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            .center-brand {
                order: -1 !important;
                /* Forces identity anchor block back to top on mobile fold */
            }

            .blog-grid {
                grid-template-columns: 1fr !important;
                gap: 30px !important;
            }

            .footer-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
                gap: 35px !important;
            }

            .footer-mid-row {
                flex-direction: column !important;
                gap: 20px;
                text-align: center;
            }

            .mega-menu {
                grid-template-columns: 1fr !important;
                position: static !important;
                box-shadow: none !important;
                padding: 10px !important;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
            }

            .mega-menu.active {
                max-height: 2000px;
                /* High safe-stop threshold for cascading list flow */
            }

            .modal-content {
                width: 95% !important;
                padding: 20px !important;
                margin: 20px auto;
                max-height: 90vh;
                overflow-y: auto;
            }

            .modal-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }
        }

        @media(max-width: 480px) {
            .tab-btn {
                flex: 1 1 100%;
            }

            .portfolio-grid-layout,
            .reviews-grid-system {
                grid-template-columns: 1fr;
            }

            .various-grid {
                grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
            }

            .stats-grid {
                grid-template-columns: 1fr !important;
            }

            .slider-container h1 {
                font-size: clamp(28px, 6vw, 42px) !important;
            }

            .slider-container h2 {
                font-size: clamp(16px, 4vw, 20px) !important;
            }
        }

        /* ==========================================================================
   PREMIUM LIGHT MESH - SLOW BLOBS, FAST COLOR SHIFT
   ========================================================================== */

        /* Background container jo pure page par phaila rahega */
        .aurora-bg-container {
            position: absolute;
            top: 0;
            left: 60%;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        /* Floating Blobs */
        .aurora-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            /* Zyada blur for airy look */
            opacity: 0.5;
            /* Light transparency */
            mix-blend-mode: multiply;
            /* Faster color shift animation */
            animation: auroraFloat 8s infinite alternate ease-in-out;
        }

        /* Colors ko light blue/soft hues me rakha hai */
        .aurora-1 {
            background: #b1dbf5;
            width: 60vw;
            height: 60vw;
            top: -10%;
            left: -20%;
        }

        /* Light Blue */
        .aurora-2 {
            background: #b2ebf3;
            width: 50vw;
            height: 50vw;
            top: 20%;
            right: -20%;
        }

        /* Soft Cyan */
        .aurora-3 {
            background: #c9c3df;
            width: 55vw;
            height: 55vw;
            bottom: -10%;
            left: 10%;
        }

        /* Very Light Purple */

        /* Hawa me lehrane wala animation */
        @keyframes auroraFloat {
            0% {
                transform: translate(0, 0) scale(1) rotate(0deg);
                filter: blur(120px) hue-rotate(0deg);
            }

            33% {
                transform: translate(10vw, 5vh) scale(1.2) rotate(10deg);
                filter: blur(140px) hue-rotate(90deg);
                /* Fast Color Change */
            }

            66% {
                transform: translate(-5vw, 10vh) scale(0.9) rotate(-10deg);
                filter: blur(110px) hue-rotate(180deg);
                /* Fast Color Change */
            }

            100% {
                transform: translate(0, 0) scale(1) rotate(0deg);
                filter: blur(120px) hue-rotate(360deg);
            }
        }

        /* Mobile par pure screen par background dikhega */
        @media (max-width: 768px) {
            .aurora-blob {
                filter: blur(80px);
            }
        }

        /* 2. MERGED: GALLERY KI CUSTOM CSS STYLES   */
        :root {
            --bg-dark: #000000;
            /* Pure Dark Background matching your homepage */
            --accent-blue: #0071e3;
            /* Premium Tech Blue for active text */
            --text-white: #ffffff;
            --text-gray: #a5a5a5;
            --card-w: 240px;
            --card-h: 360px;
        }

        .gallery-section {
            background-color: var(--accent-blue);
            color: #ffffff;
            overflow-x: hidden;
            padding: 80px 0;
            width: 100%;
            max-height: 2000px;
            position: relative;
        }

        /* --- HEADER BLOCK --- */
        .gallery-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 50px auto;
            padding: 0 20px;
            color: #ffffff;

        }

        .gallery-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 15px;
        }

        .gallery-header p {
            font-size: 0.95rem;
            color: whitesmoke;
            line-height: 1.6;
            font-weight: 300;
        }

        /* --- DESKTOP & TABLET: 3D CYLINDER CAROUSEL --- */
        .desktop-gallery-wrap {
            width: 100%;
            overflow: hidden;
            position: relative;
            height: 520px;
            display: flex;
            align-items: center;
            /* 3D Depth create karne ke liye perspective essential hai */
            perspective: 1200px;
        }

        /* Side Edge Smooth Fade Overlays */
        .desktop-gallery-wrap::before,
        .desktop-gallery-wrap::after {
            content: '';
            position: absolute;
            top: 0;
            width: 250px;
            height: 100%;
            z-index: 20;
            pointer-events: none;
        }

        .desktop-gallery-wrap::before {
            left: 0;
            background: linear-gradient(to right, var(--accent-blue) 0%, transparent 100%);
        }

        .desktop-gallery-wrap::after {
            right: 0;
            background: linear-gradient(to left, var(--accent-blue) 0%, transparent 100%);
        }

        .gallery-marquee-track {
            display: flex;
            gap: 40px;
            width: max-content;
            padding: 40px 0;
            will-change: transform;
            transform-style: preserve-3d;
        }

        /* --- ITEM & ORIGINAL CARD ARCHITECTURE --- */
        .gallery-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: var(--card-w);
            transform-style: preserve-3d;
            will-change: transform;
            transition: transform 0.1s linear;
        }

        .gallery-card {
            width: var(--card-w);
            height: var(--card-h);
            border-radius: 20px;
            /* 20px Rounded Corners */
            overflow: hidden;
            /* Luxury Shadow effect */
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
            cursor: pointer;
            position: relative;
            background: #111;
        }

        /* NO COLOR FILTERS - COMPLETELY ORIGINAL IMAGES */
        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: none;
            /* No color filters/effects */
            transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        }

        /* Zoom Effect on Hover/Active */
        .gallery-item:hover .gallery-card img,
        .gallery-item.active .gallery-card img {
            transform: scale(1.12);
            /* Clean smooth zoom */
        }

        /* --- TEXT BELOW CARDS (As shown in screenshot) --- */
        .card-title {
            margin-top: 20px;
            color: var(--text-white);
            font-size: 1.05rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            text-align: center;
            white-space: nowrap;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        /* Text turns Premium Blue on Hover or Click/Active */
        .gallery-item:hover .card-title,
        .gallery-item.active .card-title {
            color: var(--accent-blue);
        }

        /* --- MOBILE VIEW: SWIPER SLIDER SYSTEM --- */
        .mobile-gallery-wrap {
            display: none;
            width: 100%;
            padding: 10px 20px 60px 20px;
        }

        .mobile-gallery-wrap .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .mobile-gallery-wrap .gallery-item {
            transform: none !important;
            /* Mobile pe simple flat layout */
        }

        /* Swiper Blue Dots Design */
        .mobile-gallery-wrap .swiper-pagination-bullet {
            background: #ffffff;
            opacity: 0.2;
        }

        .mobile-gallery-wrap .swiper-pagination-bullet-active {
            background: var(--accent-blue);
            opacity: 1;
            width: 22px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        /* --- RESPONSIVE CONFIGURATION --- */
        @media (max-width: 1024px) {

            /* Tablets & iPads size handling */
            :root {
                --card-w: 200px;
                --card-h: 300px;
            }

            .desktop-gallery-wrap {
                height: 440px;
            }
        }

        @media (max-width: 768px) {

            /* Switch to Swiper Slider on Mobiles */
            .desktop-gallery-wrap {
                display: none;
                max-width: 360px;
            }

            .mobile-gallery-wrap {
                display: block;

            }

            .gallery-card {
                width: 100%;
                max-width: 360px;
            }

            .card-title {
                margin-bottom: 40px;
            }
        }


        .portfolio-wrapper {
            padding: 90px 0;
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .portfolio-header {
            text-align: center;
            margin-bottom: 55px;
        }

        .portfolio-header h1 {
            font-size: 46px;
            font-weight: 800;
            color: #111111;
            letter-spacing: -1px;
        }

        .portfolio-header h1 span {
            color: #1877f2;
        }

        .portfolio-grid-layout {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        /* State Before Scroll/Animation */
        .case-card {
            background: #ffffff;
            border-radius: 16px;
            border: 1px solid #eeeeee;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(50px);
            /* Bottom se upar aane ke liye base position */
            transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* Trigger Class Jo JS Se Add Hogi */
        .case-card.animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        .case-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(24, 119, 242, 0.12);
            border-color: rgba(24, 119, 242, 0.2);
        }

        /* One-by-One Staggered Delay Mechanism */
        .case-card.animate-in:nth-child(1) {
            transition-delay: 0.1s;
        }

        .case-card.animate-in:nth-child(2) {
            transition-delay: 0.2s;
        }

        .case-card.animate-in:nth-child(3) {
            transition-delay: 0.3s;
        }

        .case-card.animate-in:nth-child(4) {
            transition-delay: 0.4s;
        }

        .case-card.animate-in:nth-child(5) {
            transition-delay: 0.5s;
        }

        .case-card.animate-in:nth-child(6) {
            transition-delay: 0.6s;
        }

        .case-card.animate-in:nth-child(7) {
            transition-delay: 0.7s;
        }

        .case-card.animate-in:nth-child(8) {
            transition-delay: 0.8s;
        }

        .case-card.animate-in:nth-child(9) {
            transition-delay: 0.9s;
        }

        .case-img-box {
            position: relative;
            width: 100%;
            height: 240px;
            background: #f9f9f9;
            padding: 12px;
            box-sizing: border-box;
        }

        .case-img-box img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .case-card:hover .case-img-box img {
            transform: scale(1.04);
        }

        .case-info {
            padding: 25px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
            flex-grow: 1;
        }

        .case-info h3 {
            font-size: 22px;
            color: #111111;
            font-weight: 700;
            margin: 0;
        }

        .portfolio-btn {
            display: inline-block;
            padding: 11px 24px;
            background-color: #1877f2;
            color: #ffffff !important;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .portfolio-btn:hover {
            background-color: #1157b8;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
        }

        @media (min-width: 768px) and (max-width: 1199px) {
            .portfolio-grid-layout {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 25px;
            }
        }

        @media (max-width: 767px) {
            .portfolio-header h1 {
                font-size: 32px;
            }

            .portfolio-grid-layout {
                grid-template-columns: 1fr !important;
                gap: 35px;
            }

            .portfolio-btn {
                width: 100%;
                text-align: center;
            }
        }

        /* ========================================================
   DYNAMIC TEAM SECTION (ONE-BY-ONE SIDE SLIDE)
   ======================================================== */
        .team-wrapper {
            padding: 100px 0;
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .team-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .team-header h2 {
            font-size: 42px;
            font-weight: 800;
            color: #111111;
            letter-spacing: -1px;
        }

        .team-header h2 span {
            color: #1877f2;
        }

        .team-grid-layout {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-left: 50px;
            margin-right: 50px;
        }

        /* State Before Animation (Hidden On Side) */
        .team-card {
            background: #ffffff;
            border-radius: 24px;
            border: 1px solid #eaeaea;
            padding: 35px 25px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            opacity: 0;
            transform: translateX(-80px);
            /* Side se aane ke liye base position left me set ki */
            transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
        }

        /* Trigger Class Jo JS Se Add Hogi */
        .team-card.animate-in {
            opacity: 1;
            transform: translateX(0);
        }

        /* One-by-One Staggered Delay for Team Cards */
        .team-card.animate-in:nth-child(1) {
            transition-delay: 0.1s;
        }

        .team-card.animate-in:nth-child(2) {
            transition-delay: 0.35s;
        }

        /* Thoda dynamic gap */
        .team-card.animate-in:nth-child(3) {
            transition-delay: 0.6s;
        }

        .team-card:hover {
            transform: translateY(-12px);
            border-color: rgba(24, 119, 242, 0.3);
            box-shadow: 0 25px 50px rgba(24, 119, 242, 0.1);
        }

        .team-img-box {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #f5f5f5;
            transition: all 0.4s ease;
            background: #f9f9f9;
            margin-bottom: 10px;
        }

        .team-card:hover .team-img-box {
            border-color: #1877f2;
            transform: scale(1.05);
        }

        .team-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .team-text-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 10px;
        }

        .team-card h3 {
            font-size: 24px;
            color: #111111;
            font-weight: 700;
            margin: 0;
        }

        .team-role {
            font-size: 15px;
            color: #666666;
            font-weight: 500;
            margin: 0;
        }

        .team-btn {
            display: inline-block;
            padding: 12px 35px;
            background-color: #111111;
            color: #ffffff !important;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .team-card:hover .team-btn {
            background-color: #1877f2;
            box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
        }

        @media (min-width: 768px) and (max-width: 1024px) {
            .team-grid-layout {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 30px;
            }
        }

        @media (max-width: 767px) {
            .team-header h2 {
                font-size: 34px;
            }

            .team-grid-layout {
                grid-template-columns: 1fr !important;
                gap: 35px;
            }

            .team-btn {
                width: 100%;
                text-align: center;
            }
        }

        /* ================================================================= */
        /* LIGHT BLUE PREMIUM CURVED ROTATING IMAGE WHEEL                    */
        /* ================================================================= */

        .orb-gal-section {
            /* Beautiful Light Blue Pastel Gradient */
            background: linear-gradient(180deg, #f0f7ff 0%, #e0f2fe 50%, #d0e3ff 100%);
            color: #1e293b;
            overflow: hidden;
            padding: 100px 0 140px 0;
            width: 100%;
            position: relative;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        /* Typography Header Matrix */
        .orb-gal-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 50px auto;
            padding: 0 24px;
            position: relative;
            z-index: 5;
        }

        .orb-gal-header h2 {
            font-size: 42px;
            font-weight: 800;
            text-transform: none;
            letter-spacing: -1px;
            margin-bottom: 12px;
            color: #0f172a;
            /* Dark Navy Slate */
        }

        .orb-gal-header p {
            font-size: 16px;
            color: #475569;
            /* Elegant muted dark gray */
            line-height: 1.6;
            font-weight: 500;
        }

        /* Canvas Viewport Environment */
        .orb-gal-viewport {
            position: relative;
            width: 100%;
            height: 660px;
            /* Adjusted to perfectly fit landscape modules */
            overflow: hidden;
        }

        /* Side Fading Masks adapted for Light Background */
        .orb-gal-viewport::before,
        .orb-gal-viewport::after {
            content: '';
            position: absolute;
            top: 0;
            width: 25%;
            height: 100%;
            z-index: 10;
            pointer-events: none;
        }

        .orb-gal-viewport::before {
            left: 0;
            background: linear-gradient(to right, #f0f7ff 0%, rgba(240, 247, 255, 0) 100%);
        }

        .orb-gal-viewport::after {
            right: 0;
            background: linear-gradient(to left, #d0e3ff 0%, rgba(208, 227, 255, 0) 100%);
        }

        .orb-gal-viewport {
            padding-top: 50px;
        }

        /* Master Circular Transform Engine Track Container */
        .orb-gal-track {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        /* LANDSCAPE CARDS: Prevents images from looking cropped ("box-in-a-box" look solved) */
        .orb-gal-card {
            position: absolute;
            left: 0;
            top: 0;
            width: 320px;
            /* Landscape optimized width */
            height: 350px;
            /* Landscape optimized height for full photo view */
            border-radius: 20px;
            overflow: hidden;
            /* Soft white border + beautiful premium blue shadow dropping onto light bg */
            border: 3px solid #ffffff;
            box-shadow: 0 15px 35px rgba(0, 102, 204, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
            background: #ffffff;
            display: flex;
            flex-direction: column;
            will-change: transform, opacity;
            transition: transform 0.1s linear, box-shadow 0.4s ease;
        }

        .orb-gal-card:hover {
            box-shadow: 0 25px 50px rgba(0, 102, 204, 0.25), 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* Image Element Frame Handling */
        .orb-gal-img-holder {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
        }

        .orb-gal-img-holder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .orb-gal-card:hover .orb-gal-img-holder img {
            transform: scale(1.08);
        }

        /* Embedded Card Titles */
        .orb-gal-title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px 16px 12px 16px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
            color: #ffffff;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-align: left;
            pointer-events: none;
            box-sizing: border-box;
        }

        /* Center Contact Us Button Styles */
        .orb-gal-btn-container {
            position: absolute;
            bottom: 30px;
            /* Positioned directly below/within the center curve */
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            /* Ensures clickability over cards */
        }

        .orb-gal-btn {
            display: inline-block;
            padding: 17px 41px;
            background: linear-gradient(135deg, #0077ff 0%, #0055d4 100%);
            color: #ffffff !important;
            text-decoration: none;
            font-size: 30px;
            font-weight: 700;
            border-radius: 50px;
            box-shadow: 0 10px 25px rgba(0, 119, 255, 0.35);
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            border: none;
            cursor: pointer;
            letter-spacing: 0.5px;
        }

        .orb-gal-btn:hover {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 15px 35px rgba(0, 119, 255, 0.5);
            background: linear-gradient(135deg, #0088ff 0%, #0066ff 100%);
        }

        /* Responsive Adaptive Sizing Hooks */
        @media (max-width: 1024px) {
            .orb-gal-card {
                width: 280px;
                height: 190px;
            }

            .orb-gal-viewport {
                height: 420px;
            }

            .orb-gal-header h2 {
                font-size: 34px;
            }
        }

        @media (max-width: 768px) {
            .orb-gal-section {
                padding: 60px 0 100px 0;
            }

            .orb-gal-card {
                width: 220px;
                height: 150px;
            }

            .orb-gal-viewport {
                height: 360px;
            }

            .orb-gal-header h2 {
                font-size: 28px;
            }

            .orb-gal-header p {
                font-size: 14px;
            }

            .orb-gal-btn {
                padding: 11px 28px;
                font-size: 14px;
            }
        }