@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

/* --- Global Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }
body { background-color: #07070a; color: #f3f4f6; overflow-x: hidden; }

/* Background Glow */
.glow-bg {
  position: absolute; top: -100px; right: -50px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent 70%);
  z-index: -1;
}

.hidden { display: none !important; }

/* --- PREMIUM NAVBAR --- */
header {
    height: 85px; width: 92%; max-width: 1400px; position: fixed; top: 15px; left: 50%;
    transform: translateX(-50%); z-index: 1000; background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(25px); border-radius: 30px; border: 2.5px solid transparent;
    background-image: linear-gradient(rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.85)), 
                      linear-gradient(90deg, #4f46e5, #ffffff, #a855f7, #4f46e5);
    background-origin: border-box; background-clip: padding-box, border-box;
    background-size: 300% 100%; animation: borderMove 5s linear infinite;
    display: flex; align-items: center; padding: 0 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
@keyframes borderMove { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.navbar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo-img { height: 75px; mix-blend-mode: screen; }
.navbar ul { display: flex; list-style: none; gap: 40px; }
.navbar ul li a { color: #d1d5db; font-weight: 800; font-size: 17px; text-transform: uppercase; transition: 0.3s; }
.navbar ul li a:hover, .navbar ul li a.active { color: #4f46e5; }
.checkbtn { font-size: 30px; cursor: pointer; display: none; color: #4f46e5; }
#check { display: none; }

/* --- HERO --- */
.work-hero-premium {
    height: 60vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; text-align: center; padding-top: 80px;
}
.cube-environment { position: absolute; width: 100%; height: 100%; pointer-events: none; }
.floating-cube { position: absolute; background: rgba(79, 70, 229, 0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; animation: floatCube 10s infinite linear; }
@keyframes floatCube { from { transform: translateY(100vh) rotate(0deg); } to { transform: translateY(-100vh) rotate(360deg); } }
.c1 { width: 50px; height: 50px; left: 10%; animation-duration: 8s; }
.c2 { width: 80px; height: 80px; left: 25%; animation-duration: 12s; }
.c3 { width: 40px; height: 40px; left: 70%; animation-duration: 9s; }
.c4 { width: 100px; height: 100px; left: 85%; animation-duration: 15s; }

.work-small-title { font-size: 4rem; font-weight: 900; color: #fff; letter-spacing: 5px; }
.work-small-title span { color: #4f46e5; }
.minimal-line { width: 60px; height: 4px; background: #4f46e5; margin: 20px auto; }
.hero-desc { color: #9ca3af; font-size: 1.1rem; }

/* --- FOLDER GRID --- */
.content-view { padding: 0 8% 100px; width: 100%; }
.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 40px; }
.folder-card {
    height: 480px; border-radius: 40px; position: relative; overflow: hidden;
    display: flex; align-items: flex-end; padding: 40px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.5s;
}
.folder-img-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.folder-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.folder-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #07070a, transparent); z-index: 2; }
.folder-info { position: relative; z-index: 3; width: 100%; }
.folder-info h3 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.view-glow-btn { background: #fff; color: #000; border: none; padding: 10px 25px; border-radius: 30px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.folder-card:hover { border-color: #4f46e5; transform: translateY(-10px); }

/* --- FLOATING CONNECT UI (Click Logic Only) --- */
.floating-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.main-fab { width: 60px; height: 60px; background: #111; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,0.6); transition: 0.4s; }
.main-fab i { color: #25d366; font-size: 28px; }
.connect-card { background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; width: 210px; padding: 20px; margin-bottom: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transform: translateY(30px) scale(0.9); transition: 0.4s; }

/* Desktop Hover */
@media (min-width: 851px) {
    .floating-wrapper:hover .connect-card { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
    .floating-wrapper:hover .main-fab { transform: scale(1.1) rotate(15deg); border-color: #4f46e5; }
}
/* Click class for Mobile/Desktop */
.floating-wrapper.active .connect-card { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.floating-wrapper.active .main-fab { transform: scale(1.1) rotate(45deg); border-color: #4f46e5; }

.connect-title { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; opacity: 0.5; }
.connect-list { display: flex; flex-direction: column; gap: 10px; }
.connect-box { display: flex; align-items: center; gap: 15px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.03); color: #fff; font-weight: 600; font-size: 14px; transition: 0.3s; opacity: 0; transform: translateX(20px); text-decoration: none; }
.floating-wrapper:hover .connect-box, .floating-wrapper.active .connect-box { opacity: 1; transform: translateX(0); }
.icon-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 16px; color: #fff; }
.wa-bg { background: #25d366; }
.ig-bg { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.yt-bg { background: #ff0000; }
.li-bg { background: #0077b5; }

/* --- FOOTER SYNC --- */
.footer-main { background: #0a0c14; padding: 100px 8% 50px; border-top: 1px solid rgba(255, 255, 255, 0.05); position: relative; z-index: 100; }
.footer-wrapper { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo-img { height: 80px; mix-blend-mode: screen; margin-bottom: 25px; }
.footer-head { font-size: 19px; font-weight: 800; color: #ffffff; margin-bottom: 30px; border-left: 5px solid #4f46e5; padding-left: 12px; text-transform: uppercase; }
.footer-links li, .social-list-footer li, .loc-list-footer li { list-style: none; margin-bottom: 15px; font-size: 15px; color: #d1d5db; display: flex; align-items: center; gap: 10px; }
.footer-links a, .social-list-footer a { color: #d1d5db; transition: 0.3s; }
.footer-links a:hover, .social-list-footer a:hover { color: #4f46e5 !important; padding-left: 5px; }

/* Original Social Icon Colors Restored */
.insta { color: #e4405f; } .linkedin { color: #0077b5; } .whatsapp { color: #25d366; } .youtube { color: #ff0000; }

/* Filter */
.filter-container { display: flex; justify-content: center; gap: 20px; margin: 40px 0; }
.filter-btn { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #888; padding: 12px 30px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.filter-btn.active { background: #4f46e5; color: #fff; border-color: #4f46e5; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 850px) {
    header { width: 95%; height: 70px; padding: 0 20px; top: 10px; }
    .nav-logo-img { height: 50px; }
    .checkbtn { display: block; }
    .navbar ul { 
        position: fixed; top: 80px; left: -100%; width: 100%; 
        background: #0d0d12; flex-direction: column; padding: 40px 0; 
        border-radius: 20px; transition: 0.5s; text-align: center; 
        border: 1px solid rgba(255,255,255,0.1); 
    }
    #check:checked ~ ul { left: 0; }
    
    .work-hero-premium { height: auto; padding: 120px 20px 40px; }
    .work-small-title { font-size: 2.5rem; letter-spacing: 2px; }
    .hero-desc { font-size: 1rem; }

    .filter-container { flex-direction: column; padding: 0 20px; gap: 10px; }
    .filter-btn { width: 100%; }

    .folder-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 20px; }
    .folder-card { height: 350px; border-radius: 25px; padding: 25px; }
    .folder-info h3 { font-size: 1.4rem; }

    .image-gallery-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 15px; }
    .gallery-item { height: 220px; }

    .footer-wrapper { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-head { border-left: none; border-bottom: 2px solid #4f46e5; display: inline-block; padding: 0 10px 5px; }
    .footer-links li, .social-list-footer li, .loc-list-footer li { justify-content: center; }

    .floating-wrapper { bottom: 20px; right: 20px; }
    .main-fab { width: 50px; height: 50px; }
    .connect-card { width: 180px; right: 0; bottom: 65px; }
}