/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0f2c;
    --bg-darker: #111a4a;
    --accent-blue: #0075ff;
    --accent-cyan: #00d2ff;
    --text-main: #ffffff;
    --text-muted: #b0b8d6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --whatsapp: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker)); color: var(--text-main); overflow-x: hidden; line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 600; background: linear-gradient(to right, var(--accent-cyan), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.font-mono { font-family: 'Courier New', Courier, monospace; letter-spacing: 0.5px; }

/* --- Utility Classes --- */
.glass { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 16px; transition: all 0.3s ease; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: none; font-family: inherit; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-primary { background: linear-gradient(45deg, var(--accent-blue), var(--accent-cyan)); color: #fff; box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2); }
.btn-primary:hover { box-shadow: 0 0 20px var(--accent-cyan), 0 6px 20px rgba(0, 210, 255, 0.4); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); }
.btn-outline:hover { background: var(--accent-cyan); color: var(--bg-dark); box-shadow: 0 0 15px var(--accent-cyan); }
.w-100 { width: 100%; }

#techCanvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -3; pointer-events: none; }

/* --- Navbar & Circular Logo --- */
.navbar { position: fixed; top: 0; width: 100%; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: 0.3s; }
.navbar.scrolled { background: rgba(10, 15, 44, 0.95); backdrop-filter: blur(10px); padding: 10px 5%; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.logo-link { display: flex; align-items: center; text-decoration: none; }

.logo-circle { 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 1px solid var(--accent-cyan); 
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: transparent; 
}
.logo-circle img { width: 100%; height: 100%; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; margin-left: 12px; line-height: 1.2; }
.main-name { color: #fff; font-size: 1.4rem; font-weight: 700; }
.main-name span { color: var(--accent-cyan); }
.tagline { color: var(--accent-cyan); font-size: 0.65rem; text-transform: uppercase; font-weight: 600; opacity: 0.8; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 400; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-cyan); }
.hamburger { display: none; font-size: 1.5rem; }

/* --- Hero --- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: url('https://wallpapers.com/images/featured/coding-background-9izlympnd0ovmpli.jpg') no-repeat center center/cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(10,15,44,0.8), var(--bg-dark)); z-index: 0; }
.hero-content { max-width: 900px; padding: 50px; z-index: 1; position: relative; }
.glass-hero { background: rgba(10, 15, 44, 0.5); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(0, 210, 255, 0.2); border-radius: 24px; box-shadow: 0 0 40px rgba(0, 210, 255, 0.1); }
.hero-content h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero-content h1 span { color: var(--accent-cyan); text-shadow: 0 0 20px rgba(0, 210, 255, 0.5); }
.hero-content p { font-size: 1.1rem; color: var(--accent-cyan); opacity: 0.9; margin-bottom: 0; }

/* --- Marquee --- */
.marquee-section { padding: 15px 0; border-radius: 0; border-left: none; border-right: none; background: rgba(0, 210, 255, 0.05); overflow: hidden; }
.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: scroll 20s linear infinite; }
.marquee-content span { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--text-muted); margin: 0 30px; }
.marquee-content span i { color: var(--accent-cyan); font-size: 1.5rem; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-wrapper:hover .marquee-content { animation-play-state: paused; }

/* --- Tech Stack --- */
.tech-stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; text-align: left; }
.tech-category { padding: 30px 20px; }
.tech-category p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.service-card { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.service-card:hover { background: var(--glass-hover); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1); }
.service-card i { font-size: 3rem; color: var(--accent-cyan); margin-bottom: 20px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 15px; }
.tech-tags span { background: rgba(0, 210, 255, 0.1); color: var(--accent-cyan); font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(0, 210, 255, 0.3); }

/* --- Why Choose Us --- */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-img img { width: 100%; border-radius: 20px; display: block; }
.why-desc { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-icon { width: 60px; height: 60px; min-width: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent-cyan); }
.why-item h4 { font-size: 1.2rem; margin-bottom: 5px; color: #fff; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Portfolio Filters --- */
.portfolio-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.filter-btn { padding: 8px 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 30px; color: var(--text-main); font-family: inherit; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.filter-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.filter-btn.active { background: var(--accent-cyan); color: var(--bg-dark); border-color: var(--accent-cyan); font-weight: 600; box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); }

/* --- Portfolio --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-item { position: relative; border-radius: 15px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.portfolio-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.portfolio-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 15, 44, 0.85); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: 0.3s ease; text-align: center; padding: 20px; }
.portfolio-overlay h4 { font-size: 1.5rem; color: #fff; margin-bottom: 5px; transform: translateY(20px); transition: 0.3s ease; }
.portfolio-overlay p { color: var(--accent-cyan); font-size: 0.9rem; margin-bottom: 20px; transform: translateY(20px); transition: 0.3s ease; }
.port-buttons { display: flex; gap: 10px; transform: translateY(20px); transition: 0.3s ease; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-overlay h4, .portfolio-item:hover .portfolio-overlay p, .portfolio-item:hover .port-buttons { transform: translateY(0); }

/* Animation classes for filtering */
.portfolio-item.hide { display: none; }
.portfolio-item.show { animation: fadeInScale 0.5s ease forwards; }
@keyframes fadeInScale { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }

/* --- Interactive Terminal --- */
.terminal-box { max-width: 700px; margin: 0 auto; border-radius: 10px; overflow: hidden; text-align: left; background: rgba(0,0,0,0.6); border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.terminal-header { background: rgba(255,255,255,0.05); padding: 10px 15px; display: flex; align-items: center; border-bottom: 1px solid var(--glass-border); }
.terminal-buttons { display: flex; gap: 8px; margin-right: 15px; }
.terminal-buttons span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; }
.terminal-buttons span:nth-child(2) { background: #ffbd2e; }
.terminal-buttons span:nth-child(3) { background: #27c93f; }
.terminal-title { color: var(--text-muted); font-size: 0.85rem; }
.terminal-body { padding: 20px; min-height: 200px; color: #fff; font-size: 0.95rem; line-height: 1.6; }
.cursor { display: inline-block; width: 10px; background-color: #fff; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Process Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; top: 0; left: 30px; width: 2px; height: 100%; background: var(--glass-border); }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 80px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: 20px; top: 15px; width: 22px; height: 22px; background: var(--accent-cyan); border-radius: 50%; border: 4px solid var(--bg-dark); box-shadow: 0 0 10px var(--accent-cyan); }
.timeline-content { padding: 25px; border-left: 3px solid var(--accent-cyan); }
.timeline-content h3 { color: #fff; margin-bottom: 10px; font-size: 1.3rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Stats Counters --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.stat-item { padding: 40px 20px; text-align: center; }
.stat-item i { font-size: 2.5rem; color: var(--accent-cyan); margin-bottom: 15px; }
.stat-number { font-size: 3rem; color: #fff; font-weight: 700; margin-bottom: 5px; font-family: 'Courier New', Courier, monospace; }
.stat-number::after { content: '+'; color: var(--accent-cyan); }
.stat-text { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}

/* --- Team --- */
.team-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.team-card { width: 300px; padding: 40px 20px; text-align: center; }
.team-img { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid var(--accent-cyan); overflow: hidden; padding: 3px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 5px; color: #fff; }
.team-card .role { color: var(--accent-cyan); font-size: 0.9rem; margin-bottom: 15px; font-weight: 600; }

/* --- Contact Section --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { padding: 40px; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 10px; color: #fff; }
.contact-info > p { color: var(--text-muted); margin-bottom: 30px; font-size: 1rem; }
.info-item { display: flex; gap: 20px; align-items: center; margin-bottom: 25px; }
.info-icon { width: 50px; height: 50px; min-width: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-cyan); }
.info-item h4 { font-size: 1.1rem; color: #fff; margin-bottom: 3px; }
.info-item p { color: var(--text-muted); font-size: 0.95rem; }
.contact-form { padding: 40px; }
.input-group { margin-bottom: 20px; }
.input-group input, .input-group textarea { width: 100%; padding: 15px 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); border-radius: 10px; color: #fff; font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s; }
.input-group input::placeholder, .input-group textarea::placeholder { color: var(--text-muted); }
.input-group input:focus, .input-group textarea:focus { border-color: var(--accent-cyan); background: rgba(0, 210, 255, 0.05); box-shadow: 0 0 15px rgba(0, 210, 255, 0.1); }
.input-group textarea { resize: vertical; }

/* --- FAQ Accordion --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.accordion { border-radius: 10px; overflow: hidden; transition: 0.3s ease; }
.accordion-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); }
.accordion-header h3 { font-size: 1.1rem; font-weight: 600; color: #fff; }
.accordion-header i { color: var(--accent-cyan); transition: transform 0.3s ease; }
.accordion-content { max-height: 0; overflow: hidden; padding: 0 20px; transition: all 0.3s ease; background: transparent; }
.accordion-content p { color: var(--text-muted); padding-bottom: 20px; font-size: 0.95rem; }
.accordion.active { background: rgba(0, 210, 255, 0.05); border-color: rgba(0, 210, 255, 0.3); }
.accordion.active .accordion-header i { transform: rotate(180deg); }
.accordion.active .accordion-content { max-height: 300px; padding-top: 10px; }

/* --- CTA & Modals --- */
.cta-container { text-align: center; padding: 80px 20px; }
.cta h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }

.custom-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 2000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.custom-modal.show { display: flex; opacity: 1; }
.modal-content { background: var(--bg-darker); border: 1px solid var(--accent-cyan); padding: 40px; border-radius: 20px; max-width: 500px; width: 90%; position: relative; text-align: center; transform: translateY(-50px); transition: transform 0.3s ease; }
.custom-modal.show .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: var(--text-muted); transition: 0.3s; }
.close-modal:hover { color: var(--accent-cyan); }
.modal-divider { width: 50px; height: 3px; background: var(--accent-cyan); margin: 15px auto; border-radius: 5px; }

/* --- Graphics Gallery Grid --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 15px; max-height: 50vh; overflow-y: auto; padding-right: 5px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; border: 1px solid var(--glass-border); transition: transform 0.3s ease; }
.gallery-grid img:hover { transform: scale(1.05); border-color: var(--accent-cyan); box-shadow: 0 5px 15px rgba(0, 210, 255, 0.2); }
.close-gallery-modal:hover { color: var(--accent-cyan); transform: scale(1.2); }
.gallery-grid::-webkit-scrollbar { width: 6px; }
.gallery-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
.gallery-grid::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 10px; }

@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-grid img { height: 150px; } }

/* --- Floating Buttons --- */
.floating-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: var(--whatsapp); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000; transition: 0.3s; }
.floating-wa:hover { transform: scale(1.1); }
.mobile-bottom-bar { display: none; }

/* --- Animations & Responsive --- */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.2rem; }
    .why-us-grid, .contact-grid { grid-template-columns: 1fr; }
    .why-content h2 { text-align: center; }
}
@media (max-width: 768px) {
    .nav-links { position: absolute; top: 70px; left: 0; width: 100%; background: var(--bg-darker); flex-direction: column; text-align: center; padding: 20px 0; gap: 20px; transform: translateY(-150%); transition: 0.3s; z-index: -1; }
    .nav-links.nav-active { transform: translateY(0); }
    .nav-cta { display: none; }
    .hamburger { display: block; }
    
    .glass-hero { padding: 30px 20px; margin: 0 20px; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 50px; }
    .timeline-dot { left: 10px; width: 18px; height: 18px; top: 20px; }
    
    .contact-info, .contact-form { padding: 30px 20px; }
    
    .floating-wa { display: none; }
    .mobile-bottom-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; background: var(--bg-dark); }
    .bottom-btn { flex: 1; padding: 15px; text-align: center; text-decoration: none; color: #fff; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 8px; }
    .call-btn { background: var(--accent-blue); }
    .wa-btn { background: var(--whatsapp); }
    body { padding-bottom: 50px; }
}

/* Preloader */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
.loader { text-align: center; color: var(--accent-cyan); font-size: 1.5rem; letter-spacing: 2px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 20px var(--accent-cyan); } 100% { opacity: 0.5; transform: scale(0.9); } }

/* Scroll Progress */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(255,255,255,0.05); z-index: 1001; }
.scroll-progress-bar { height: 100%; background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan)); width: 0%; box-shadow: 0 0 10px var(--accent-cyan); transition: width 0.1s; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testi-card { padding: 40px 30px; position: relative; }
.quote-icon { font-size: 2.5rem; color: rgba(0, 210, 255, 0.15); position: absolute; top: 20px; right: 30px; }
.testi-text { font-size: 1rem; color: var(--text-muted); font-style: italic; margin-bottom: 25px; line-height: 1.8; position: relative; z-index: 1; }
.testi-author { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--glass-border); padding-top: 20px; }
.author-info h4 { color: #fff; font-size: 1.1rem; margin-bottom: 2px; }
.author-info span { color: var(--accent-cyan); font-size: 0.85rem; font-family: 'Courier New', Courier, monospace; }
.stars { color: #ffbd2e; font-size: 0.9rem; }

/* Custom Cursor */
.cursor-dot { width: 8px; height: 8px; background: var(--accent-cyan); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); z-index: 10000; pointer-events: none; box-shadow: 0 0 10px var(--accent-cyan); transition: width 0.2s, height 0.2s; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(0, 210, 255, 0.5); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); z-index: 9999; pointer-events: none; transition: top 0.1s, left 0.1s, width 0.2s, height 0.2s, background 0.2s; }

@media (max-width: 768px) { .cursor-dot, .cursor-outline { display: none !important; } * { cursor: auto !important; } }

/* --- NEW FEATURE 3: Social Proof Toast --- */
.social-toast { position: fixed; bottom: 30px; left: -400px; max-width: 350px; display: flex; align-items: center; gap: 15px; padding: 15px 20px; border-radius: 12px; z-index: 1000; transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-left: 4px solid var(--accent-cyan); }
.social-toast.show { left: 30px; }
.toast-icon { width: 40px; height: 40px; background: rgba(0, 210, 255, 0.1); color: var(--accent-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.toast-content { display: flex; flex-direction: column; padding-right: 15px; }
.toast-content p { color: #fff; font-size: 0.9rem; margin-bottom: 3px; line-height: 1.3; font-weight: 500; }
.toast-content span { color: var(--text-muted); font-size: 0.75rem; }
.toast-close { position: absolute; top: 10px; right: 10px; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; transition: color 0.3s; padding: 5px; }
.toast-close:hover { color: var(--accent-cyan); }

@media (max-width: 768px) {
    .social-toast { bottom: 80px; max-width: 280px; }
    .social-toast.show { left: 20px; }
}
/* ============================================
   --- PREMIUM TRUSTED BRANDS CAROUSEL ---
============================================ */
.brand-carousel {
    width: 100%; 
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Here is the magic for a seamless loop */
.brand-track {
    display: flex;
    width: max-content;
    animation: scrollBrands 35s linear infinite; /* Thoda smooth aur lamba scroll */
}

.brand-set {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* Ye space set 1 aur set 2 ke beech perfect gap banati hai */
}

.brand-track:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Remaining Glass Card Effects (Same as before) */
.premium-glass {
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 12px 30px 12px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.premium-glass::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.premium-glass:hover::before {
    left: 150%;
    transition: 0.7s;
}

.premium-glass:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.1);
}

.brand-icon {
    width: 45px; height: 45px;
    background: rgba(0, 210, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.2);
}

.premium-glass span {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}