/* --- 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; }
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; cursor: pointer; 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: 45px; height: 45px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent-cyan); box-shadow: 0 0 10px rgba(0, 210, 255, 0.3); display: flex; justify-content: center; align-items: center; background: #fff; }
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.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; cursor: pointer; }

/* --- 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 --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-item { position: relative; border-radius: 15px; overflow: hidden; }
.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); }

/* --- 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 (NEW) --- */
.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; cursor: pointer; 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 & Modal --- */
.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); cursor: pointer; 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; }

/* --- 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; }
}