Files
Aira-Company-Website/index.html
T

3729 lines
141 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="en">
<head>
<!-- Playables SDK -->
<script>
// Playables SDK v1.0.0
// Game lifecycle bridge: rAF-based game-ready detection + event communication
(function () {
"use strict";
// Idempotency: skip if already initialized (e.g., server-side injection
// followed by client-side inject-javascript via the Bloks webview component).
if (window.playablesSDK) return;
var HANDLER_NAME = "playablesGameEventHandler";
var ANDROID_BRIDGE_NAME = "_MetaPlayablesBridge";
var RAF_FRAME_THRESHOLD = 3;
var gameReadySent = false;
var firstInteractionSent = false;
var errorSent = false;
var frameCount = 0;
var originalRAF = window.requestAnimationFrame;
// --- Transport Layer ---
function hasIOSBridge() {
return !!(
window.webkit &&
window.webkit.messageHandlers &&
window.webkit.messageHandlers[HANDLER_NAME]
);
}
function hasAndroidBridge() {
return !!(
window[ANDROID_BRIDGE_NAME] &&
typeof window[ANDROID_BRIDGE_NAME].postEvent === "function"
);
}
function isInIframe() {
return !!(window.parent && window.parent !== window);
}
function sendEvent(eventName, payload) {
var message = {
type: eventName,
payload: payload || {},
timestamp: Date.now(),
};
if (hasIOSBridge()) {
try {
window.webkit.messageHandlers[HANDLER_NAME].postMessage(message);
} catch (e) {
/* ignore */
}
return;
}
if (hasAndroidBridge()) {
try {
var p = payload || {};
p.__secureToken = window.__fbAndroidBridgeAuthToken || "";
p.timestamp = message.timestamp;
window[ANDROID_BRIDGE_NAME].postEvent(
eventName,
JSON.stringify(p),
);
} catch (e) {
/* ignore */
}
return;
}
if (isInIframe()) {
try {
window.parent.postMessage(message, "*");
} catch (e) {
/* ignore */
}
return;
}
}
// --- rAF Game-Ready Detection ---
function onFrame() {
if (gameReadySent) return;
frameCount++;
if (frameCount >= RAF_FRAME_THRESHOLD) {
gameReadySent = true;
sendEvent("game_ready", {
frame_count: frameCount,
detected_at: Date.now(),
});
return;
}
originalRAF.call(window, onFrame);
}
if (originalRAF) {
window.requestAnimationFrame = function (callback) {
if (!gameReadySent) {
return originalRAF.call(window, function (timestamp) {
frameCount++;
if (frameCount >= RAF_FRAME_THRESHOLD && !gameReadySent) {
gameReadySent = true;
sendEvent("game_ready", {
frame_count: frameCount,
detected_at: Date.now(),
});
}
callback(timestamp);
});
}
return originalRAF.call(window, callback);
};
}
// --- First User Interaction Detection ---
function setupFirstInteractionDetection() {
var events = ["touchstart", "mousedown", "keydown"];
function onFirstInteraction() {
if (firstInteractionSent) return;
firstInteractionSent = true;
sendEvent("user_interaction_start", null);
for (var i = 0; i < events.length; i++) {
document.removeEventListener(events[i], onFirstInteraction, true);
}
}
for (var i = 0; i < events.length; i++) {
document.addEventListener(events[i], onFirstInteraction, true);
}
}
if (document.readyState === "loading") {
document.addEventListener(
"DOMContentLoaded",
setupFirstInteractionDetection,
);
} else {
setupFirstInteractionDetection();
}
// --- Auto Error Capture ---
window.addEventListener("error", function (event) {
if (errorSent) return;
errorSent = true;
sendEvent("error", {
message: event.message || "Unknown error",
source: event.filename || "",
lineno: event.lineno || 0,
colno: event.colno || 0,
auto_captured: true,
});
});
window.addEventListener("unhandledrejection", function (event) {
if (errorSent) return;
errorSent = true;
var reason = event.reason;
sendEvent("error", {
message: reason instanceof Error ? reason.message : String(reason),
type: "unhandled_promise_rejection",
auto_captured: true,
});
});
// --- Public API ---
window.playablesSDK = {
complete: function (score) {
sendEvent("game_ended", {
score: score,
completed: true,
});
},
error: function (message) {
if (errorSent) return;
errorSent = true;
sendEvent("error", {
message: message || "Unknown error",
auto_captured: false,
});
},
sendEvent: function (eventName, payload) {
if (!eventName || typeof eventName !== "string") return;
sendEvent(eventName, payload);
},
};
// Kick off rAF detection in case no game code calls rAF immediately
if (originalRAF) {
originalRAF.call(window, onFrame);
}
})();
</script>
<!-- PLAYABLE_TOUCH_PATCH_V1 -->
<script>
(function () {
if (window.__playableTouchPatchInstalled) return;
window.__playableTouchPatchInstalled = true;
var origAdd = EventTarget.prototype.addEventListener;
var blockedTypes = { touchstart: 1, touchmove: 1, wheel: 1 };
EventTarget.prototype.addEventListener = function (
type,
listener,
options,
) {
if (blockedTypes[type]) {
if (options === undefined || options === null) {
options = { passive: true };
} else if (typeof options === "boolean") {
options = { capture: options, passive: true };
} else {
options = Object.assign({}, options, { passive: true });
}
}
return origAdd.call(this, type, listener, options);
};
})();
</script>
<script>
window.Intl = window.Intl || {};
Intl.t = function (s) {
return (Intl._locale && Intl._locale[s]) || s;
};
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Aira Group of Technology | Sovereign AI, Systems & Software Engineering</title>
<link rel="icon" type="image/png" href="assets/logo.png" />
<script src="https://cdn.tailwindcss.com"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
/>
<!-- Puter.js Library Import for 24/7 Aira AI Support -->
<script src="https://js.puter.com/v2/"></script>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap"
rel="stylesheet"
/>
<style>
:root {
--navy: #0a2342;
--navy-light: #13315c;
--navy-accent: #1d4ed8;
--white: #ffffff;
--gray: #64748b;
--light-gray: #f8fafc;
}
* {
scroll-behavior: smooth;
}
body {
font-family: "Inter", sans-serif;
color: #1e293b;
}
.font-display {
font-family: "Playfair Display", serif;
}
.gradient-text {
background: linear-gradient(135deg, #1d4ed8 0%, #0a2342 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-bg {
background:
linear-gradient(
135deg,
rgba(10, 35, 66, 0.95) 0%,
rgba(19, 49, 92, 0.92) 100%
),
url("https://images.unsplash.com/photo-1677442136019-21780ecad995?q=80&w=2940")
center/cover;
}
.card-hover {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
transform: translateY(-12px);
box-shadow: 0 25px 50px rgba(10, 35, 66, 0.15);
}
.btn-primary {
background: linear-gradient(135deg, #1d4ed8 0%, #0a2342 100%);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
position: relative;
overflow: hidden;
}
.btn-primary::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: left 0.5s;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 12px 30px rgba(29, 78, 216, 0.4);
}
.btn-secondary {
transition: all 0.3s ease;
}
.btn-secondary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}
.nav-link {
position: relative;
transition: color 0.3s ease;
}
.nav-link::after {
content: "";
position: absolute;
width: 0;
height: 2px;
bottom: -4px;
left: 0;
background: #1d4ed8;
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.mobile-menu {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active {
max-height: 500px;
}
.glow-effect {
box-shadow: 0 0 40px rgba(29, 78, 216, 0.3);
animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
0%,
100% {
box-shadow: 0 0 40px rgba(29, 78, 216, 0.3);
}
50% {
box-shadow: 0 0 60px rgba(29, 78, 216, 0.5);
}
}
.animate-fade-in {
opacity: 0;
transform: translateY(30px);
transition:
opacity 0.8s ease,
transform 0.8s ease;
}
.animate-fade-in.visible {
opacity: 1;
transform: translateY(0);
}
.animate-scale {
opacity: 0;
transform: scale(0.9);
transition:
opacity 0.6s ease,
transform 0.6s ease;
}
.animate-scale.visible {
opacity: 1;
transform: scale(1);
}
.service-icon {
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover .service-icon {
transform: rotateY(360deg) scale(1.1);
}
.float-animation {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}
.logo-item {
filter: grayscale(100%);
opacity: 0.6;
transition: all 0.3s ease;
}
.logo-item:hover {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.05);
}
/* Technology Stack Section */
.tech-stack {
max-width: 1200px;
margin: 40px auto;
text-align: center;
background-color: #0a0e1a;
color: #ffffff;
padding: 40px 20px;
border-radius: 24px;
border: 1px solid #1e293b;
}
.tech-badge {
display: inline-block;
background: #1e293b;
color: #94a3b8;
padding: 8px 20px;
border-radius: 20px;
font-size: 14px;
margin-bottom: 24px;
border: 1px solid #334155;
}
.tech-stack h2 {
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
line-height: 1.2;
color: #ffffff;
}
.tech-stack h2 .highlight {
background: linear-gradient(135deg, #3b82f6, #06b6d4);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.tech-stack .subtitle {
color: #94a3b8;
font-size: 16px;
max-width: 600px;
margin: 0 auto 48px;
line-height: 1.6;
}
.tech-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 20px;
margin-top: 40px;
}
.tech-card {
background: #1e293b;
border: 1px solid #334155;
border-radius: 16px;
padding: 32px 20px;
transition: all 0.3s ease;
cursor: pointer;
}
.tech-card:hover {
transform: translateY(-4px);
border-color: #3b82f6;
box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}
.tech-icon {
font-size: 48px;
margin-bottom: 16px;
}
.tech-card h3 {
font-size: 16px;
font-weight: 600;
color: #ffffff;
}
/* Icon Colors */
.react {
color: #61dafb;
}
.nodejs {
color: #68a063;
}
.python {
color: #ffde57;
}
.aws {
color: #ff9900;
}
.docker {
color: #2496ed;
}
.mongodb {
color: #47a248;
}
.vue {
color: #42b883;
}
.angular {
color: #dd0031;
}
@media (max-width: 768px) {
.tech-stack h2 {
font-size: 32px;
}
.tech-grid {
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
.tech-card {
padding: 24px 16px;
}
}
/* Smooth Scroll and Section Offset for Fixed Header */
html {
scroll-behavior: smooth !important;
}
section, footer {
scroll-margin-top: 85px !important;
}
</style>
</head>
<body class="bg-white antialiased">
<!-- Navigation -->
<nav
class="fixed w-full bg-white/95 backdrop-blur-md z-50 shadow-sm transition-shadow duration-300"
>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-20">
<div class="flex items-center space-x-2">
<div
class="w-10 h-10 rounded-lg bg-gradient-to-br from-blue-600 to-[#0a2342] flex items-center justify-center"
>
<i class="fas fa-code-branch text-white text-lg"></i>
</div>
<span class="text-2xl font-bold text-[#0a2342]"
>Aira<span class="font-light">Group</span></span
>
</div>
<div class="hidden md:flex items-center space-x-8">
<a
href="#home"
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
>Home</a
>
<a
href="#services"
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
>Solutions</a
>
<a
href="#about"
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
>About</a
>
<a
href="#trusted"
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
>Clients</a
>
<a
href="#careers"
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
>Careers</a
>
<a
href="#faq"
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
>FAQ</a
>
<a
href="#contact"
class="btn-primary text-white px-6 py-2.5 rounded-lg font-semibold"
>Get Started</a
>
</div>
<button
id="mobile-menu-btn"
class="md:hidden text-[#0a2342] text-2xl transition-transform hover:scale-110"
>
<i class="fas fa-bars"></i>
</button>
</div>
<div id="mobile-menu" class="mobile-menu md:hidden">
<div class="py-4 space-y-3">
<a
href="#home"
class="block text-slate-700 hover:text-blue-700 font-medium py-2 transition"
>Home</a
>
<a
href="#services"
class="block text-slate-700 hover:text-blue-700 font-medium py-2 transition"
>Solutions</a
>
<a
href="#about"
class="block text-slate-700 hover:text-blue-700 font-medium py-2 transition"
>About</a
>
<a
href="#trusted"
class="block text-slate-700 hover:text-blue-700 font-medium py-2 transition"
>Clients</a
>
<a
href="#careers"
class="block text-slate-700 hover:text-blue-700 font-medium py-2 transition"
>Careers</a
>
<a
href="#faq"
class="block text-slate-700 hover:text-blue-700 font-medium py-2 transition"
>FAQ</a
>
<a
href="#contact"
class="block btn-primary text-white text-center px-6 py-2.5 rounded-lg font-semibold mt-4"
>Get Started</a
>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="hero-bg min-h-screen flex items-center pt-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 w-full">
<div class="grid lg:grid-cols-2 gap-12 items-center">
<div class="text-white animate-fade-in visible">
<div
class="inline-block px-4 py-1.5 bg-white/10 backdrop-blur-sm rounded-full text-sm font-medium mb-6 border border-white/20 hover:bg-white/20 transition-all duration-300"
>
<i class="fas fa-microchip mr-2 text-cyan-400"></i>Sovereign AI • Deep-Tech Systems • Cloud Architecture
</div>
<h1
class="font-display text-5xl md:text-6xl lg:text-7xl font-bold leading-tight mb-6"
>
Engineering Sovereign Intelligence, Scalable Cloud & Native Systems
</h1>
<p class="text-xl text-slate-200 mb-8 leading-relaxed">
Aira Group of Technology is an independent, deep-tech engineering powerhouse. From Sovereign AI platforms and bare-metal OS kernels to high-performance Flutter mobile apps and enterprise web solutions — we architect, engineer, and ship products built to lead the future.
</p>
<div class="flex flex-col sm:flex-row gap-4">
<a
href="#contact"
class="btn-primary text-white px-8 py-4 rounded-lg font-semibold text-center text-lg"
>
Schedule Free Consultation
</a>
<a
href="#services"
class="btn-secondary bg-white/10 backdrop-blur-sm border-2 border-white/30 text-white px-8 py-4 rounded-lg font-semibold text-center text-lg hover:bg-white/20"
>
View All Services
</a>
</div>
<div class="mt-12 flex items-center gap-8 flex-wrap">
<div class="hover:scale-110 transition-transform duration-300">
<div class="text-4xl font-bold">10+</div>
<div class="text-slate-300 text-sm">Years in Tech</div>
</div>
<div class="w-px h-12 bg-white/20"></div>
<div class="hover:scale-110 transition-transform duration-300">
<div class="text-4xl font-bold">200+</div>
<div class="text-slate-300 text-sm">Products Shipped</div>
</div>
<div class="w-px h-12 bg-white/20"></div>
<div class="hover:scale-110 transition-transform duration-300">
<div class="text-4xl font-bold">99.9%</div>
<div class="text-slate-300 text-sm">Client Satisfaction</div>
</div>
</div>
</div>
<div class="hidden lg:block relative float-animation">
<div
class="absolute inset-0 bg-blue-600 rounded-3xl blur-3xl opacity-20"
></div>
<img
src="https://images.unsplash.com/photo-1555066931-4365d14bab8c?q=80&w=2940"
alt="Software development and AI"
class="relative rounded-3xl shadow-2xl border-4 border-white/10 glow-effect"
/>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="py-24 bg-slate-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center max-w-3xl mx-auto mb-16 animate-fade-in">
<span class="text-blue-600 font-semibold text-sm uppercase tracking-wider">Our Sovereign Stack & Services</span>
<h2 class="font-display text-4xl md:text-5xl font-bold text-[#0a2342] mt-3 mb-4">
Deep-Tech Systems, AI & Native Software
</h2>
<p class="text-lg text-slate-600">
From sovereign intelligence and private telecommunication cores to high-converting web platforms and mobile apps — explore our live releases and open-source architectures.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Card 1: Aira AI Platform -->
<div class="card-hover bg-white rounded-2xl p-8 shadow-lg border-2 border-blue-500/20 relative overflow-hidden animate-scale flex flex-col justify-between">
<div>
<div class="flex items-center justify-between mb-4">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-blue-600 to-[#0a2342] flex items-center justify-center service-icon">
<i class="fas fa-brain text-white text-2xl"></i>
</div>
<span class="bg-blue-600 text-white text-[11px] font-bold px-3 py-1 rounded-full uppercase tracking-wider">
Flagship AI
</span>
</div>
<h3 class="text-2xl font-bold text-[#0a2342] mb-3">Aira AI Sovereign Platform</h3>
<p class="text-slate-600 mb-5 leading-relaxed text-sm">
Sovereign multimodal intelligence engine featuring Malayalam & English reasoning, low-latency live voice interaction, and native cross-platform deployment.
</p>
<ul class="space-y-2.5 mb-6 text-sm">
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-blue-600 mr-2.5"></i>
<span>Multimodal Voice & Vision Intelligence</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-blue-600 mr-2.5"></i>
<span>Live Production WebChat & Mobile App</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-blue-600 mr-2.5"></i>
<span>Zero Corporate Dependency</span>
</li>
</ul>
</div>
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
<a href="https://airaai-gamma.vercel.app" target="_blank" class="text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 px-3 py-1.5 rounded-lg flex items-center gap-1 shadow-sm transition">
Live WebChat <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
</a>
<a href="https://github.com/adameehanairagroup/Aira-Mobile-App/releases/tag/v1.0.1" target="_blank" class="text-xs font-bold text-emerald-700 bg-emerald-100 hover:bg-emerald-200 px-3 py-1.5 rounded-lg flex items-center gap-1 transition">
APK v1.0.1 <i class="fas fa-download text-[10px]"></i>
</a>
<a href="https://github.com/adameehanairagroup/Aira-AI-Chat" target="_blank" class="text-xs font-bold text-slate-700 bg-slate-100 hover:bg-slate-200 px-3 py-1.5 rounded-lg flex items-center gap-1 transition">
<i class="fab fa-github"></i> Source
</a>
</div>
</div>
<!-- Card 2: Native Flutter Mobile Apps -->
<div class="card-hover bg-white rounded-2xl p-8 shadow-lg border border-slate-100 animate-scale flex flex-col justify-between" style="transition-delay: 0.1s">
<div>
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-indigo-600 to-[#0a2342] flex items-center justify-center mb-6 service-icon">
<i class="fas fa-mobile-screen-button text-white text-2xl"></i>
</div>
<h3 class="text-2xl font-bold text-[#0a2342] mb-3">Native Mobile Development</h3>
<p class="text-slate-600 mb-5 leading-relaxed text-sm">
Lightning-fast cross-platform Android & iOS apps engineered with Flutter, featuring automated Cloud CI/CD release pipelines and offline-first native architectures.
</p>
<ul class="space-y-2.5 mb-6 text-sm">
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-indigo-600 mr-2.5"></i>
<span>Turnkey Android & iOS Mobile Apps</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-indigo-600 mr-2.5"></i>
<span>Sub-4-Minute Cloud Compilation</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-indigo-600 mr-2.5"></i>
<span>Custom Client Portals & Booking</span>
</li>
</ul>
</div>
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center justify-between gap-2">
<a href="https://github.com/adameehanairagroup/Aira-Mobile-App" target="_blank" class="text-xs font-bold text-indigo-700 bg-indigo-50 hover:bg-indigo-100 px-3 py-1.5 rounded-lg inline-flex items-center gap-1.5 transition">
<i class="fab fa-github text-sm"></i> Mobile App Source Code
</a>
<a href="#contact" class="text-indigo-600 font-semibold hover:text-indigo-800 text-xs inline-flex items-center group">
Order App <i class="fas fa-arrow-right ml-1 text-[10px] group-hover:translate-x-1 transition-transform"></i>
</a>
</div>
</div>
<!-- Card 3: Next.js Business Web Platforms -->
<div class="card-hover bg-white rounded-2xl p-8 shadow-lg border border-slate-100 animate-scale flex flex-col justify-between" style="transition-delay: 0.2s">
<div>
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-cyan-600 to-[#0a2342] flex items-center justify-center mb-6 service-icon">
<i class="fas fa-globe text-white text-2xl"></i>
</div>
<h3 class="text-2xl font-bold text-[#0a2342] mb-3">Modern Web Platforms</h3>
<p class="text-slate-600 mb-5 leading-relaxed text-sm">
High-converting web applications, student portals, and corporate platforms built with Next.js, React, Tailwind CSS, and global edge deployments.
</p>
<ul class="space-y-2.5 mb-6 text-sm">
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-cyan-600 mr-2.5"></i>
<span>Coaching, Institute & Academy Portals</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-cyan-600 mr-2.5"></i>
<span>Automated WhatsApp Lead Flow</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-cyan-600 mr-2.5"></i>
<span>100/100 Lighthouse Performance</span>
</li>
</ul>
</div>
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center justify-between gap-2">
<a href="https://github.com/adameehanairagroup/Aira-Company-Website" target="_blank" class="text-xs font-bold text-cyan-700 bg-cyan-50 hover:bg-cyan-100 px-3 py-1.5 rounded-lg inline-flex items-center gap-1.5 transition">
<i class="fab fa-github text-sm"></i> Portal Source Code
</a>
<a href="#contact" class="text-cyan-600 font-semibold hover:text-cyan-800 text-xs inline-flex items-center group">
Launch Site <i class="fas fa-arrow-right ml-1 text-[10px] group-hover:translate-x-1 transition-transform"></i>
</a>
</div>
</div>
<!-- Card 4: Aira-Telecom Offline Cellular -->
<div class="card-hover bg-white rounded-2xl p-8 shadow-lg border-2 border-emerald-500/20 animate-scale flex flex-col justify-between">
<div>
<div class="flex items-center justify-between mb-4">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-emerald-600 to-[#0a2342] flex items-center justify-center service-icon">
<i class="fas fa-tower-broadcast text-white text-2xl"></i>
</div>
<span class="bg-emerald-600 text-white text-[11px] font-bold px-3 py-1 rounded-full uppercase tracking-wider">
Deep Telecom
</span>
</div>
<h3 class="text-2xl font-bold text-[#0a2342] mb-3">Aira-Telecom: Offline Cellular</h3>
<p class="text-slate-600 mb-5 leading-relaxed text-sm">
Private 4G/GSM cellular core and base station engineering using SDR hardware, enabling voice calls and emergency messaging during total blackout disasters without telecom towers or internet.
</p>
<ul class="space-y-2.5 mb-6 text-sm">
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-emerald-600 mr-2.5"></i>
<span>Zero-Internet Cellular Base Station</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-emerald-600 mr-2.5"></i>
<span>Disaster Management & Remote Mesh</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-emerald-600 mr-2.5"></i>
<span>Open5GS + SDR Software Radio</span>
</li>
</ul>
</div>
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
<a href="https://github.com/adameehanairagroup/Aira-Telecom" target="_blank" class="w-full text-center text-xs font-bold text-white bg-emerald-600 hover:bg-emerald-700 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
<i class="fab fa-github text-sm"></i> View Aira-Telecom Source Code <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
</a>
</div>
</div>
<!-- Card 5: Airlys OS Kernel -->
<div class="card-hover bg-white rounded-2xl p-8 shadow-lg border-2 border-purple-500/20 animate-scale flex flex-col justify-between" style="transition-delay: 0.1s">
<div>
<div class="flex items-center justify-between mb-4">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-purple-600 to-[#0a2342] flex items-center justify-center service-icon">
<i class="fas fa-terminal text-white text-2xl"></i>
</div>
<span class="bg-purple-600 text-white text-[11px] font-bold px-3 py-1 rounded-full uppercase tracking-wider">
OS Systems
</span>
</div>
<h3 class="text-2xl font-bold text-[#0a2342] mb-3">Airlys OS Kernel Engineering</h3>
<p class="text-slate-600 mb-5 leading-relaxed text-sm">
64-bit sovereign monolithic operating system kernel engineered from scratch from first principles, booted directly on bare-metal laptop hardware with native memory management.
</p>
<ul class="space-y-2.5 mb-6 text-sm">
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-purple-600 mr-2.5"></i>
<span>Custom Bootloader & x86_64 Kernel</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-purple-600 mr-2.5"></i>
<span>Direct Framebuffer & Driver Control</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-purple-600 mr-2.5"></i>
<span>Pure Sovereign Systems Architecture</span>
</li>
</ul>
</div>
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
<a href="https://github.com/adameehanairagroup/AirlysOS" target="_blank" class="w-full text-center text-xs font-bold text-white bg-purple-600 hover:bg-purple-700 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
<i class="fab fa-github text-sm"></i> View Airlys OS Source Code <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
</a>
</div>
</div>
<!-- Card 6: AiraLang Language & AI Bots -->
<div class="card-hover bg-white rounded-2xl p-8 shadow-lg border-2 border-amber-500/20 animate-scale flex flex-col justify-between" style="transition-delay: 0.2s">
<div>
<div class="flex items-center justify-between mb-4">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-amber-600 to-[#0a2342] flex items-center justify-center service-icon">
<i class="fas fa-code text-white text-2xl"></i>
</div>
<span class="bg-amber-600 text-white text-[11px] font-bold px-3 py-1 rounded-full uppercase tracking-wider">
AI-Native Lang
</span>
</div>
<h3 class="text-2xl font-bold text-[#0a2342] mb-3">AiraLang & AI Automation</h3>
<p class="text-slate-600 mb-5 leading-relaxed text-sm">
The world's first AI-Native programming language featuring in-compiler directives and self-healing syntax, alongside enterprise 24/7 lead capture chatbots.
</p>
<ul class="space-y-2.5 mb-6 text-sm">
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-amber-600 mr-2.5"></i>
<span>AiraLang Compiler & Toolchain</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-amber-600 mr-2.5"></i>
<span>24/7 Instant Lead Generation Bots</span>
</li>
<li class="flex items-center text-slate-700">
<i class="fas fa-check-circle text-amber-600 mr-2.5"></i>
<span>Custom WhatsApp & CRM Automation</span>
</li>
</ul>
</div>
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
<a href="https://github.com/adameehanairagroup/Airalang" target="_blank" class="w-full text-center text-xs font-bold text-amber-800 bg-amber-100 hover:bg-amber-200 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
<i class="fab fa-github text-sm"></i> View AiraLang Source Code <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<!-- About & Leadership Section -->
<section id="about" class="py-24 bg-white relative overflow-hidden">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid lg:grid-cols-2 gap-16 items-center">
<div class="relative animate-fade-in">
<div class="absolute -top-6 -left-6 w-72 h-72 bg-blue-100 rounded-full blur-3xl opacity-50"></div>
<div class="relative bg-gradient-to-br from-[#0a2342] to-[#13315c] rounded-3xl p-8 sm:p-10 shadow-2xl text-white border border-blue-500/20">
<div class="flex items-center gap-4 mb-6">
<img src="assets/logo.png" alt="Aira Group Logo" class="w-16 h-16 rounded-2xl shadow-lg border border-white/20 object-contain bg-white" />
<div>
<h3 class="text-2xl font-bold">Er. Adam Eehan</h3>
<p class="text-blue-300 text-sm font-medium">Founder, CEO & Chief Systems Architect</p>
<p class="text-xs text-slate-400">Aira Group of Technology</p>
</div>
</div>
<p class="text-slate-200 text-sm leading-relaxed mb-6 italic">
"True engineering excellence cannot be borrowed or franchised from corporate giants. We build from first principles — operating systems, cellular cores, and sovereign artificial intelligence designed to serve with uncompromising technical integrity."
</p>
<div class="grid grid-cols-2 gap-4 pt-4 border-t border-white/10 text-xs text-slate-300">
<div class="flex items-center gap-2">
<i class="fas fa-microchip text-cyan-400"></i>
<span>Sovereign AI Architect</span>
</div>
<div class="flex items-center gap-2">
<i class="fas fa-tower-broadcast text-blue-400"></i>
<span>Private Cellular Systems</span>
</div>
<div class="flex items-center gap-2">
<i class="fas fa-terminal text-emerald-400"></i>
<span>Bare-Metal OS Engineering</span>
</div>
<div class="flex items-center gap-2">
<i class="fas fa-bolt text-yellow-400"></i>
<span>Automated Cloud CI/CD</span>
</div>
</div>
</div>
</div>
<div class="animate-fade-in" style="transition-delay: 0.2s">
<span class="text-blue-600 font-semibold text-sm uppercase tracking-wider">Leadership & Vision</span>
<h2 class="font-display text-4xl md:text-5xl font-bold text-[#0a2342] mt-3 mb-6">
Architected by Vision. Built from First Principles.
</h2>
<p class="text-lg text-slate-600 mb-6 leading-relaxed">
<strong>Aira Group of Technology</strong> is a sovereign deep-tech engineering powerhouse based in Trivandrum, Kerala. We stand completely independent of corporate influence, building software and hardware solutions from the silicon to the cloud.
</p>
<p class="text-lg text-slate-600 mb-8 leading-relaxed">
From our flagship <strong>Aira AI</strong> platform and <strong>Aira-Telecom</strong> offline cellular base stations to <strong>Airlys OS</strong> and high-performance client web & mobile applications, we don't just assemble templates — we engineer resilient digital infrastructure.
</p>
<div class="grid grid-cols-2 gap-6 mb-8">
<div class="flex items-start gap-3 group">
<div class="w-12 h-12 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0 group-hover:bg-blue-100 transition-colors duration-300">
<i class="fas fa-shield-halved text-blue-600 text-xl"></i>
</div>
<div>
<div class="font-bold text-[#0a2342] mb-1">100% Sovereign</div>
<div class="text-sm text-slate-600">Zero corporate lock-in</div>
</div>
</div>
<div class="flex items-start gap-3 group">
<div class="w-12 h-12 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0 group-hover:bg-blue-100 transition-colors duration-300">
<i class="fas fa-bolt text-blue-600 text-xl"></i>
</div>
<div>
<div class="font-bold text-[#0a2342] mb-1">Rapid Delivery</div>
<div class="text-sm text-slate-600">Days, not months</div>
</div>
</div>
</div>
<div class="flex flex-wrap gap-4">
<a href="#contact" class="btn-primary inline-block text-white px-8 py-4 rounded-lg font-semibold shadow-lg shadow-blue-600/30">
Partner With Our Founder
</a>
<a href="https://wa.me/918921584368?text=Hello%20Er.%20Adam%20Eehan,%20I%20would%20like%20to%20discuss%20a%20project%20with%20Aira%20Group." target="_blank" class="bg-emerald-600 hover:bg-emerald-700 text-white px-6 py-4 rounded-lg font-semibold inline-flex items-center gap-2 shadow-lg shadow-emerald-600/30 transition-all duration-300">
<i class="fab fa-whatsapp text-lg"></i>
<span>Direct WhatsApp Inquiry</span>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Trusted By Section -->
<section id="trusted" class="py-24 bg-slate-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center max-w-3xl mx-auto mb-16 animate-fade-in">
<span
class="text-blue-600 font-semibold text-sm uppercase tracking-wider"
>Trusted By Industry Leaders</span
>
<h2
class="font-display text-4xl md:text-5xl font-bold text-[#0a2342] mt-3 mb-4"
>
Partnering with Startups & Enterprises Worldwide
</h2>
<p class="text-lg text-slate-600">
From early-stage startups to Fortune 500 companies, teams trust Aira
to build products that scale. Your vision, our engineering
excellence.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8 mb-16">
<!-- Trust Card 1 -->
<div
class="card-hover bg-white rounded-2xl p-8 shadow-lg border border-slate-100 text-center animate-scale"
>
<div
class="w-16 h-16 rounded-full bg-blue-50 flex items-center justify-center mx-auto mb-4"
>
<i class="fas fa-building text-blue-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-[#0a2342] mb-3">
Enterprise Solutions
</h3>
<p class="text-slate-600 leading-relaxed">
We build enterprise-grade software with security, compliance, and
scalability at the core. Trusted for mission-critical systems.
</p>
</div>
<!-- Trust Card 2 -->
<div
class="card-hover bg-white rounded-2xl p-8 shadow-lg border border-slate-100 text-center animate-scale"
style="transition-delay: 0.1s"
>
<div
class="w-16 h-16 rounded-full bg-blue-50 flex items-center justify-center mx-auto mb-4"
>
<i class="fas fa-rocket text-blue-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-[#0a2342] mb-3">
Startup Accelerated
</h3>
<p class="text-slate-600 leading-relaxed">
From MVP to Series A and beyond. We move fast, iterate quickly,
and help founders launch products that investors love.
</p>
</div>
<!-- Trust Card 3 -->
<div
class="card-hover bg-white rounded-2xl p-8 shadow-lg border border-slate-100 text-center animate-scale"
style="transition-delay: 0.2s"
>
<div
class="w-16 h-16 rounded-full bg-blue-50 flex items-center justify-center mx-auto mb-4"
>
<i class="fas fa-handshake text-blue-600 text-2xl"></i>
</div>
<h3 class="text-xl font-bold text-[#0a2342] mb-3">
Long-Term Partners
</h3>
<p class="text-slate-600 leading-relaxed">
85% of our clients work with us for 3+ years. We're not just
vendors — we're your dedicated technology team.
</p>
</div>
</div>
<div
class="bg-white rounded-2xl p-12 shadow-lg border border-slate-100 animate-fade-in"
>
<p
class="text-center text-slate-500 text-sm font-semibold uppercase tracking-wider mb-8"
>
Trusted by startups and enterprises across industries
</p>
<div
class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 items-center justify-items-center"
>
<div class="logo-item text-slate-400 font-bold text-lg">
TECHCORP
</div>
<div class="logo-item text-slate-400 font-bold text-lg">
FINNOVA
</div>
<div class="logo-item text-slate-400 font-bold text-lg">
HEALTHIA
</div>
<div class="logo-item text-slate-400 font-bold text-lg">
QUANTIFY
</div>
<div
class="logo-item text-slate-400 font-bold text-lg col-span-2 md:col-span-1"
>
BUILDSTACK
</div>
<div class="logo-item text-slate-400 font-bold text-lg">
CLOUDNEX
</div>
<div class="logo-item text-slate-400 font-bold text-lg">
DATAPULSE
</div>
<div class="logo-item text-slate-400 font-bold text-lg">NEXGEN</div>
<div class="logo-item text-slate-400 font-bold text-lg">
VENTUREX
</div>
<div class="logo-item text-slate-400 font-bold text-lg">
SYNERGY
</div>
</div>
</div>
</div>
</section>
<!-- Careers Section -->
<section id="careers" class="py-24 bg-slate-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center max-w-3xl mx-auto mb-16 animate-fade-in">
<span
class="text-blue-600 font-semibold text-sm uppercase tracking-wider"
>Join Aira Group</span
>
<h2
class="font-display text-4xl md:text-5xl font-bold text-[#0a2342] mt-3 mb-4"
>
Build the Future of Tech With Us
</h2>
<p class="text-lg text-slate-600">
We are always looking for passionate builders, designers, and
thinkers to join our distributed team. Work on cutting-edge AI and
software products.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Job 1 -->
<div
class="bg-white p-8 rounded-2xl border border-slate-100 shadow-md hover:shadow-lg transition-all duration-300 flex flex-col justify-between"
>
<div>
<span
class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-xs font-semibold uppercase tracking-wider"
>Full-Time / Remote</span
>
<h3 class="text-2xl font-bold text-[#0a2342] mt-4 mb-2">
AI / Machine Learning Engineer
</h3>
<p class="text-slate-600 mb-6">
Design, build, and deploy production-ready ML models, MLOps
pipelines, and custom LLM integrations for global clients.
</p>
</div>
<button
onclick="applyForJob('AI / Machine Learning Engineer')"
class="text-blue-600 font-semibold hover:text-blue-800 inline-flex items-center group mt-auto self-start"
>
Apply Now
<i
class="fas fa-arrow-right ml-2 text-sm group-hover:translate-x-1 transition-transform"
></i>
</button>
</div>
<!-- Job 2 -->
<div
class="bg-white p-8 rounded-2xl border border-slate-100 shadow-md hover:shadow-lg transition-all duration-300 flex flex-col justify-between"
>
<div>
<span
class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-xs font-semibold uppercase tracking-wider"
>Full-Time / Remote</span
>
<h3 class="text-2xl font-bold text-[#0a2342] mt-4 mb-2">
Full Stack Developer
</h3>
<p class="text-slate-600 mb-6">
Develop clean, high-performance web applications using React,
Next.js, Node.js, and modern cloud infrastructures.
</p>
</div>
<button
onclick="applyForJob('Full Stack Developer')"
class="text-blue-600 font-semibold hover:text-blue-800 inline-flex items-center group mt-auto self-start"
>
Apply Now
<i
class="fas fa-arrow-right ml-2 text-sm group-hover:translate-x-1 transition-transform"
></i>
</button>
</div>
<!-- Job 3 -->
<div
class="bg-white p-8 rounded-2xl border border-slate-100 shadow-md hover:shadow-lg transition-all duration-300 flex flex-col justify-between"
>
<div>
<span
class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-xs font-semibold uppercase tracking-wider"
>Full-Time / Remote</span
>
<h3 class="text-2xl font-bold text-[#0a2342] mt-4 mb-2">
Mobile App Developer
</h3>
<p class="text-slate-600 mb-6">
Design and build high-performance cross-platform mobile
applications for iOS and Android using Flutter or React Native.
</p>
</div>
<button
onclick="applyForJob('Mobile App Developer')"
class="text-blue-600 font-semibold hover:text-blue-800 inline-flex items-center group mt-auto self-start"
>
Apply Now
<i
class="fas fa-arrow-right ml-2 text-sm group-hover:translate-x-1 transition-transform"
></i>
</button>
</div>
</div>
<div
class="mt-12 max-w-2xl mx-auto bg-white p-8 rounded-2xl border border-slate-100 shadow-md text-center"
>
<h3 class="text-2xl font-bold text-[#0a2342] mb-2">
Spontaneous Application
</h3>
<p class="text-slate-600 mb-6">
Don't see a role that fits but still want to join Aira Group? Send
us your resume and tell us how you can contribute.
</p>
<button
onclick="applyForJob('Spontaneous Application')"
class="btn-primary text-white px-8 py-3 rounded-lg font-semibold inline-block"
>
Submit Resume / Query
</button>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-24 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid lg:grid-cols-2 gap-16">
<div class="animate-fade-in">
<span
class="text-blue-600 font-semibold text-sm uppercase tracking-wider"
>Start Your Project</span
>
<h2
class="font-display text-4xl md:text-5xl font-bold text-[#0a2342] mt-3 mb-6"
>
Let's Build Your Next Digital Product
</h2>
<p class="text-lg text-slate-600 mb-8 leading-relaxed">
Ready to start your software or AI project? Schedule a
complimentary 30-minute discovery call. We'll analyze your
requirements and outline a technical roadmap.
</p>
<!-- Font Awesome Icons -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<section class="tech-stack">
<div class="tech-badge">Technology Stack</div>
<h2>
Powered by <span class="highlight">Modern<br />Tech</span>
</h2>
<p class="subtitle">
We leverage cutting-edge technologies to build robust, scalable
solutions
</p>
<div class="tech-grid">
<div class="tech-card">
<div class="tech-icon react">
<i class="fab fa-react"></i>
</div>
<h3>React</h3>
</div>
<div class="tech-card">
<div class="tech-icon nodejs">
<i class="fab fa-node-js"></i>
</div>
<h3>Node.js</h3>
</div>
<div class="tech-card">
<div class="tech-icon python">
<i class="fab fa-python"></i>
</div>
<h3>Python</h3>
</div>
<div class="tech-card">
<div class="tech-icon aws">
<i class="fab fa-aws"></i>
</div>
<h3>AWS</h3>
</div>
<div class="tech-card">
<div class="tech-icon docker">
<i class="fab fa-docker"></i>
</div>
<h3>Docker</h3>
</div>
<div class="tech-card">
<div class="tech-icon mongodb">
<i class="fas fa-database"></i>
</div>
<h3>MongoDB</h3>
</div>
<div class="tech-card">
<div class="tech-icon vue">
<i class="fab fa-vuejs"></i>
</div>
<h3>Vue.js</h3>
</div>
<div class="tech-card">
<div class="tech-icon angular">
<i class="fab fa-angular"></i>
</div>
<h3>Angular</h3>
</div>
</div>
</section>
<div class="space-y-6">
<div class="flex items-start gap-4 group">
<div
class="w-12 h-12 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0 group-hover:bg-blue-100 transition-colors duration-300"
>
<i class="fas fa-map-marker-alt text-blue-600"></i>
</div>
<div>
<div class="font-bold text-[#0a2342] mb-1">Headquarters</div>
<div class="text-slate-600">
Technopark, Thiruvananthapuram<br />Kerala, India
</div>
</div>
</div>
<div class="flex items-start gap-4 group">
<div
class="w-12 h-12 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0 group-hover:bg-blue-100 transition-colors duration-300"
>
<i class="fas fa-phone text-blue-600"></i>
</div>
<div>
<div class="font-bold text-[#0a2342] mb-1">Phone</div>
<div class="text-slate-600">+91 8921 584 368</div>
</div>
</div>
<div class="flex items-start gap-4 group">
<div
class="w-12 h-12 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0 group-hover:bg-blue-100 transition-colors duration-300"
>
<i class="fas fa-envelope text-blue-600"></i>
</div>
<div>
<div class="font-bold text-[#0a2342] mb-1">Email</div>
<div class="text-slate-600">adameehan34@gmail.com</div>
</div>
</div>
</div>
</div>
<div
class="bg-slate-50 rounded-2xl p-8 border border-slate-100 animate-fade-in"
style="transition-delay: 0.2s"
>
<form id="contact-form" class="space-y-6">
<div class="grid sm:grid-cols-2 gap-6">
<div>
<label
for="firstName"
class="block text-sm font-semibold text-[#0a2342] mb-2"
>First Name *</label
>
<input
type="text"
id="firstName"
required
class="w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="lastName"
class="block text-sm font-semibold text-[#0a2342] mb-2"
>Last Name *</label
>
<input
type="text"
id="lastName"
required
class="w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
</div>
<div>
<label
for="email"
class="block text-sm font-semibold text-[#0a2342] mb-2"
>Email Address *</label
>
<input
type="email"
id="email"
required
class="w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="company"
class="block text-sm font-semibold text-[#0a2342] mb-2"
>Company</label
>
<input
type="text"
id="company"
class="w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="service"
class="block text-sm font-semibold text-[#0a2342] mb-2"
>Service Interest *</label
>
<select
id="service"
required
class="w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300 bg-white"
>
<option value="">Select a service</option>
<option value="web">Web Development</option>
<option value="mobile">Mobile App Development</option>
<option value="ai">AI & Machine Learning</option>
<option value="custom">Custom Software Development</option>
<option value="consulting">Tech Consulting & Strategy</option>
<option value="mvp">MVP & Startup Solutions</option>
<option value="other">Other / Not Sure</option>
</select>
</div>
<div>
<label
for="message"
class="block text-sm font-semibold text-[#0a2342] mb-2"
>Tell us about your project *</label
>
<textarea
id="message"
rows="4"
required
class="w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300 resize-none"
></textarea>
</div>
<button
type="submit"
class="btn-primary w-full text-white px-8 py-4 rounded-lg font-semibold text-lg"
>
Request Consultation
</button>
<p class="text-sm text-slate-500 text-center">
We'll respond within 24 hours. Your data is encrypted and
confidential.
</p>
</form>
<div
id="form-success"
class="hidden mt-6 p-4 bg-green-50 border border-green-200 rounded-lg text-green-800 text-center animate-fade-in"
>
<i class="fas fa-check-circle mr-2"></i>Thank you! Our team will
be in touch soon.
</div>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section id="faq" class="py-24 bg-slate-50">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16 animate-fade-in">
<span
class="text-blue-600 font-semibold text-sm uppercase tracking-wider"
>FAQ</span
>
<h2 class="font-display text-4xl font-bold text-[#0a2342] mt-3 mb-4">
Frequently Asked Questions
</h2>
<p class="text-lg text-slate-600">
Got questions? We've got answers. If you can't find what you're
looking for, feel free to reach out to us.
</p>
</div>
<div class="space-y-4">
<!-- FAQ 1 -->
<div
class="border border-slate-200 rounded-2xl overflow-hidden transition-all duration-300 bg-white"
>
<button
onclick="toggleFaq(1)"
class="w-full flex justify-between items-center p-6 text-left font-semibold text-lg text-[#0a2342] bg-slate-50 hover:bg-slate-100/50 transition-colors duration-300"
>
<span>What technologies does Aira Group specialize in?</span>
<i
id="faq-icon-1"
class="fas fa-chevron-down text-slate-500 transition-transform duration-300"
></i>
</button>
<div
id="faq-answer-1"
class="max-h-0 overflow-hidden transition-all duration-300 ease-in-out"
>
<div
class="p-6 text-slate-600 border-t border-slate-100 leading-relaxed"
>
We specialize in full-stack web development (React, Next.js,
Node.js), native & cross-platform mobile apps (Flutter, React
Native), and AI/Machine Learning integrations (custom LLMs,
predictive modeling, MLOps).
</div>
</div>
</div>
<!-- FAQ 2 -->
<div
class="border border-slate-200 rounded-2xl overflow-hidden transition-all duration-300 bg-white"
>
<button
onclick="toggleFaq(2)"
class="w-full flex justify-between items-center p-6 text-left font-semibold text-lg text-[#0a2342] bg-slate-50 hover:bg-slate-100/50 transition-colors duration-300"
>
<span>How long does it take to build an MVP?</span>
<i
id="faq-icon-2"
class="fas fa-chevron-down text-slate-500 transition-transform duration-300"
></i>
</button>
<div
id="faq-answer-2"
class="max-h-0 overflow-hidden transition-all duration-300 ease-in-out"
>
<div
class="p-6 text-slate-600 border-t border-slate-100 leading-relaxed"
>
Typically, we build and deliver high-quality Minimum Viable
Products (MVPs) in 4 to 8 weeks, depending on the complexity of
the features.
</div>
</div>
</div>
<!-- FAQ 3 -->
<div
class="border border-slate-200 rounded-2xl overflow-hidden transition-all duration-300 bg-white"
>
<button
onclick="toggleFaq(3)"
class="w-full flex justify-between items-center p-6 text-left font-semibold text-lg text-[#0a2342] bg-slate-50 hover:bg-slate-100/50 transition-colors duration-300"
>
<span>Do I get full ownership of the source code?</span>
<i
id="faq-icon-3"
class="fas fa-chevron-down text-slate-500 transition-transform duration-300"
></i>
</button>
<div
id="faq-answer-3"
class="max-h-0 overflow-hidden transition-all duration-300 ease-in-out"
>
<div
class="p-6 text-slate-600 border-t border-slate-100 leading-relaxed"
>
Yes, absolutely! Once the project is completed and fully paid,
you receive 100% intellectual property ownership and source code
access.
</div>
</div>
</div>
<!-- FAQ 4 -->
<div
class="border border-slate-200 rounded-2xl overflow-hidden transition-all duration-300 bg-white"
>
<button
onclick="toggleFaq(4)"
class="w-full flex justify-between items-center p-6 text-left font-semibold text-lg text-[#0a2342] bg-slate-50 hover:bg-slate-100/50 transition-colors duration-300"
>
<span>How do we communicate during project development?</span>
<i
id="faq-icon-4"
class="fas fa-chevron-down text-slate-500 transition-transform duration-300"
></i>
</button>
<div
id="faq-answer-4"
class="max-h-0 overflow-hidden transition-all duration-300 ease-in-out"
>
<div
class="p-6 text-slate-600 border-t border-slate-100 leading-relaxed"
>
We maintain full transparency. We set up shared Slack channels,
weekly demo calls, and regular updates on project management
tools like Trello or Jira.
</div>
</div>
</div>
<!-- FAQ 5 -->
<div
class="border border-slate-200 rounded-2xl overflow-hidden transition-all duration-300 bg-white"
>
<button
onclick="toggleFaq(5)"
class="w-full flex justify-between items-center p-6 text-left font-semibold text-lg text-[#0a2342] bg-slate-50 hover:bg-slate-100/50 transition-colors duration-300"
>
<span>What is your pricing model?</span>
<i
id="faq-icon-5"
class="fas fa-chevron-down text-slate-500 transition-transform duration-300"
></i>
</button>
<div
id="faq-answer-5"
class="max-h-0 overflow-hidden transition-all duration-300 ease-in-out"
>
<div
class="p-6 text-slate-600 border-t border-slate-100 leading-relaxed"
>
We offer flexible pricing models: Fixed Price for well-defined
projects, and Time & Material (hourly or monthly rate) for agile
product development.
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-[#0a2342] text-slate-300 py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-4 gap-12 mb-12">
<div class="md:col-span-2">
<div class="flex items-center space-x-3 mb-4">
<img src="assets/logo.png" alt="Aira Logo" class="w-10 h-10 rounded-xl object-contain bg-white p-0.5 shadow-md" />
<span class="text-2xl font-bold text-white tracking-tight"
>Aira<span class="text-blue-400 font-semibold">Group</span></span
>
</div>
<p class="text-slate-300 leading-relaxed mb-3">
Independent sovereign deep-tech engineering powerhouse. Architecting AI platforms, bare-metal operating systems, private cellular cores, and native business applications.
</p>
<div class="flex items-center gap-2 text-sm text-cyan-400 font-semibold mb-6">
<i class="fas fa-location-dot"></i>
<span>Technopark, Thiruvananthapuram, Kerala, India</span>
</div>
<div class="flex gap-4">
<a
href="https://www.linkedin.com/in/adam-eehan-1058133b7?utm_source=share_via&utm_content=profile&utm_medium=member_android"
target="_blank"
class="w-10 h-10 rounded-lg bg-white/10 hover:bg-white/20 flex items-center justify-center transition-all duration-300 hover:scale-110"
>
<i class="fab fa-linkedin-in"></i>
</a>
<a
href="https://github.com/airagroupoftechnology"
target="_blank"
class="w-10 h-10 rounded-lg bg-white/10 hover:bg-white/20 flex items-center justify-center transition-all duration-300 hover:scale-110"
>
<i class="fab fa-github"></i>
</a>
</div>
</div>
<div>
<h4 class="text-white font-semibold mb-4">Solutions</h4>
<ul class="space-y-3">
<li>
<a
href="#services"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>Web Development</a
>
</li>
<li>
<a
href="#services"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>Mobile Apps</a
>
</li>
<li>
<a
href="#services"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>AI & Machine Learning</a
>
</li>
<li>
<a
href="#services"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>Custom Software</a
>
</li>
</ul>
</div>
<div>
<h4 class="text-white font-semibold mb-4">Company</h4>
<ul class="space-y-3">
<li>
<a
href="#about"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>About Aira</a
>
</li>
<li>
<a
href="#trusted"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>Our Clients</a
>
</li>
<li>
<a
href="#contact"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>Contact</a
>
</li>
<li>
<a
href="#careers"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>Careers</a
>
</li>
<li>
<a
href="#faq"
class="hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
>FAQ</a
>
</li>
</ul>
</div>
</div>
<div
class="pt-8 border-t border-white/10 flex flex-col sm:flex-row justify-between items-center gap-4"
>
<p class="text-sm text-slate-400">
© 2024–2026 Aira Group of Technology • Trivandrum, Kerala. All rights reserved.
</p>
<div class="flex gap-6 text-sm">
<a href="#" class="hover:text-white transition-colors duration-300"
>Privacy Policy</a
>
<a href="#" class="hover:text-white transition-colors duration-300"
>Terms of Service</a
>
</div>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
const mobileMenuBtn = document.getElementById("mobile-menu-btn");
const mobileMenu = document.getElementById("mobile-menu");
mobileMenuBtn.addEventListener("click", () => {
mobileMenu.classList.toggle("active");
const icon = mobileMenuBtn.querySelector("i");
icon.classList.toggle("fa-bars");
icon.classList.toggle("fa-times");
});
// Close mobile menu on link click
document.querySelectorAll("#mobile-menu a").forEach((link) => {
link.addEventListener("click", () => {
mobileMenu.classList.remove("active");
mobileMenuBtn.querySelector("i").classList.add("fa-bars");
mobileMenuBtn.querySelector("i").classList.remove("fa-times");
});
});
// Ultra-reliable smooth scroll for all anchor links & buttons
document.querySelectorAll('a[href^="#"]').forEach((anchor) => {
anchor.addEventListener("click", function (e) {
const href = this.getAttribute("href");
if (href && href.startsWith("#") && href.length > 1) {
const target = document.querySelector(href);
if (target) {
e.preventDefault();
const navHeight = 80;
const elementPosition = target.getBoundingClientRect().top;
const offsetPosition = elementPosition + window.pageYOffset - navHeight;
window.scrollTo({
top: offsetPosition,
behavior: "smooth"
});
// Close mobile menu if open
const mobileMenu = document.getElementById("mobile-menu");
const mobileMenuBtn = document.getElementById("mobile-menu-btn");
if (mobileMenu && mobileMenu.classList.contains("active")) {
mobileMenu.classList.remove("active");
if (mobileMenuBtn) {
const icon = mobileMenuBtn.querySelector("i");
if (icon) {
icon.classList.add("fa-bars");
icon.classList.remove("fa-times");
}
}
}
}
}
});
});
// Form submission
const contactForm = document.getElementById("contact-form");
const formSuccess = document.getElementById("form-success");
contactForm.addEventListener("submit", async (e) => {
e.preventDefault();
// Button loading effect
const submitBtn = contactForm.querySelector('button[type="submit"]');
const originalBtnText = submitBtn.innerText;
submitBtn.innerText = "Sending Message... 🚀";
submitBtn.disabled = true;
// Collect data from the form
const formData = {
Name:
document.getElementById("firstName").value +
" " +
document.getElementById("lastName").value,
Email: document.getElementById("email").value,
Company: document.getElementById("company").value,
Service: document.getElementById("service").value,
Message: document.getElementById("message").value,
_subject: "🚀 New Contact Form Submission - Aira Group!", // Email subject line
};
// TODO: Replace with YOUR actual Gmail address!
const adminEmail = "adameehan34@gmail.com";
try {
// Send email using FormSubmit API
await fetch(`https://formsubmit.co/ajax/${adminEmail}`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
body: JSON.stringify(formData),
});
formSuccess.classList.remove("hidden");
contactForm.reset();
setTimeout(() => formSuccess.classList.add("hidden"), 5000);
} catch (error) {
alert("Sorry, something went wrong. Please try again.");
} finally {
submitBtn.innerText = originalBtnText;
submitBtn.disabled = false;
}
});
// Navbar shadow on scroll
window.addEventListener("scroll", () => {
const nav = document.querySelector("nav");
if (window.scrollY > 10) {
nav.classList.add("shadow-md");
} else {
nav.classList.remove("shadow-md");
}
});
// Fade-in animation on scroll
const observerOptions = {
threshold: 0.1,
rootMargin: "0px 0px -50px 0px",
};
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add("visible");
}
});
}, observerOptions);
document
.querySelectorAll(".animate-fade-in, .animate-scale")
.forEach((el) => {
observer.observe(el);
});
// Open Careers Modal
function applyForJob(jobTitle) {
const modal = document.getElementById("careers-modal");
const modalTitle = document.getElementById("modal-job-title");
const hiddenInput = document.getElementById("applied-job-title");
const subjectInput = document.getElementById("careers-email-subject");
const nextInput = document.getElementById("careers-next-url");
if (modal && modalTitle && hiddenInput) {
modalTitle.innerText = jobTitle;
hiddenInput.value = jobTitle;
if (subjectInput) {
subjectInput.value = `💼 Job Application: ${jobTitle} - Aira Group!`;
}
if (nextInput) {
nextInput.value = window.location.href;
}
modal.classList.remove("hidden");
}
}
// Close Careers Modal
function closeCareersModal() {
const modal = document.getElementById("careers-modal");
if (modal) {
modal.classList.add("hidden");
}
}
// Handle Careers Form Submit
const careersApplyForm = document.getElementById("careers-apply-form");
if (careersApplyForm) {
careersApplyForm.addEventListener("submit", () => {
const submitBtn = careersApplyForm.querySelector(
'button[type="submit"]',
);
if (submitBtn) {
submitBtn.innerText = "Submitting Application... 🚀";
}
});
}
// Dynamic toggle for FAQs
function toggleFaq(index) {
const answer = document.getElementById(`faq-answer-${index}`);
const icon = document.getElementById(`faq-icon-${index}`);
if (answer && icon) {
if (answer.style.maxHeight && answer.style.maxHeight !== "0px") {
answer.style.maxHeight = "0px";
icon.style.transform = "rotate(0deg)";
} else {
// Close all other FAQs first (for clean behavior)
for (let i = 1; i <= 5; i++) {
const otherAnswer = document.getElementById(`faq-answer-${i}`);
const otherIcon = document.getElementById(`faq-icon-${i}`);
if (otherAnswer && otherIcon && i !== index) {
otherAnswer.style.maxHeight = "0px";
otherIcon.style.transform = "rotate(0deg)";
}
}
answer.style.maxHeight = answer.scrollHeight + "px";
icon.style.transform = "rotate(180deg)";
}
}
}
</script>
<script>
(function () {
document.addEventListener("click", function (e) {
var a = e.target.closest("[data-product-id]");
if (!a) return;
e.preventDefault();
var pid = a.getAttribute("data-product-id");
if (pid)
parent.postMessage(
{ type: "ecto-artifact-link-click", productId: pid },
"*",
);
});
})();
</script>
<!-- Aira Co-Pilot HUD Overlay -->
<div
id="aira-copilot-hud"
class="fixed bottom-6 right-6 z-[9999] bg-[#0a2342]/95 text-white p-5 rounded-2xl shadow-2xl border border-blue-500/30 backdrop-blur-md max-w-sm w-96 transform translate-y-20 opacity-0 pointer-events-none transition-all duration-500 flex flex-col gap-4"
>
<div
class="flex items-center justify-between border-b border-white/10 pb-2"
>
<div class="flex items-center gap-2">
<span class="relative flex h-3 w-3">
<span
class="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"
></span>
<span
class="relative inline-flex rounded-full h-3 w-3 bg-blue-500"
></span>
</span>
<span
class="font-display font-bold text-xs tracking-wider uppercase text-blue-400"
>Aira Co-Pilot Active</span
>
</div>
<button
onclick="cancelAutofill()"
class="text-xs text-slate-400 hover:text-white transition-colors"
>
<i class="fas fa-times mr-1"></i>Cancel
</button>
</div>
<div class="flex flex-col gap-2.5">
<p class="text-xs text-slate-300">
Autofilling contact form details from your chat history...
</p>
<!-- Progress Bar -->
<div class="w-full bg-white/10 h-1.5 rounded-full overflow-hidden">
<div
id="copilot-progress"
class="bg-gradient-to-r from-blue-500 to-indigo-400 h-full w-0 transition-all duration-300"
></div>
</div>
<!-- Status Checklist -->
<div class="grid grid-cols-2 gap-2 text-xs text-slate-300 mt-1">
<div id="hud-firstName" class="flex items-center gap-1.5 opacity-50">
<span class="hud-dot w-2 h-2 rounded-full bg-slate-500"></span>
<span>First Name</span>
</div>
<div id="hud-lastName" class="flex items-center gap-1.5 opacity-50">
<span class="hud-dot w-2 h-2 rounded-full bg-slate-500"></span>
<span>Last Name</span>
</div>
<div id="hud-email" class="flex items-center gap-1.5 opacity-50">
<span class="hud-dot w-2 h-2 rounded-full bg-slate-500"></span>
<span>Email Address</span>
</div>
<div id="hud-company" class="flex items-center gap-1.5 opacity-50">
<span class="hud-dot w-2 h-2 rounded-full bg-slate-500"></span>
<span>Company</span>
</div>
<div id="hud-service" class="flex items-center gap-1.5 opacity-50">
<span class="hud-dot w-2 h-2 rounded-full bg-slate-500"></span>
<span>Service</span>
</div>
<div id="hud-message" class="flex items-center gap-1.5 opacity-50">
<span class="hud-dot w-2 h-2 rounded-full bg-slate-500"></span>
<span>Project Details</span>
</div>
</div>
</div>
<div class="flex items-center justify-between mt-1 text-xs pt-1">
<span id="copilot-status-text" class="text-blue-300 font-medium"
>Initializing...</span
>
<button
onclick="skipAutofill()"
class="bg-blue-600 hover:bg-blue-500 text-white font-semibold px-3 py-1.5 rounded-lg transition-all border border-blue-400/20 shadow-lg shadow-blue-500/20 flex items-center gap-1"
>
<i class="fas fa-bolt text-yellow-300 animate-pulse"></i> Skip Typing
</button>
</div>
</div>
<!-- Floating Aira Chat Widget (24/7 Support) -->
<div
id="aira-chat-widget"
class="fixed bottom-6 right-6 z-50 flex flex-col items-end"
>
<!-- Chat Window -->
<div
id="aira-chat-window"
class="hidden w-[90vw] max-w-[360px] bg-white rounded-2xl shadow-2xl border border-slate-100 overflow-hidden mb-4 transition-all duration-300 origin-bottom-right"
>
<!-- Header -->
<div
class="bg-gradient-to-r from-[#0a2342] to-[#13315c] text-white p-4 flex justify-between items-center shadow-md z-10 relative"
>
<div class="flex items-center gap-3">
<div class="relative">
<div
class="w-10 h-10 rounded-full bg-white/10 flex items-center justify-center backdrop-blur-sm border border-white/20"
>
🤖
</div>
<div
class="absolute bottom-0 right-0 w-3 h-3 bg-green-400 border-2 border-[#13315c] rounded-full"
></div>
</div>
<div>
<h3 class="font-bold text-sm">Aira AI Assistant</h3>
<p class="text-xs text-blue-200">Online • 24/7 Support</p>
</div>
</div>
<button
id="close-chat-btn"
class="text-white/70 hover:text-white transition-colors w-8 h-8 flex items-center justify-center rounded-full hover:bg-white/10"
>
<i class="fas fa-times"></i>
</button>
</div>
<!-- Login State -->
<div
id="chat-login-section"
class="p-8 text-center bg-slate-50 h-[350px] flex flex-col justify-center items-center"
>
<div
class="w-16 h-16 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-2xl mb-4 mx-auto shadow-inner"
>
<i class="fas fa-lock"></i>
</div>
<h4 class="font-bold text-[#0a2342] mb-2 text-lg">
Welcome to Support
</h4>
<p class="text-slate-500 mb-6 text-sm leading-relaxed">
Securely login with your Puter account to interact with Aira AI.
</p>
<button
onclick="loginWithPuter()"
class="btn-primary w-full text-white py-3 rounded-lg font-semibold text-sm shadow-lg"
>
🔐 Login with Puter
</button>
</div>
<!-- Chat State -->
<div id="chat-interface" class="hidden flex-col h-[400px] bg-slate-50">
<div
id="chat-messages"
class="flex-1 min-h-0 p-4 overflow-y-auto space-y-4"
>
<!-- Aira Default Welcome -->
<div class="flex items-start gap-2">
<div
class="w-8 h-8 rounded-full bg-gradient-to-br from-blue-600 to-[#0a2342] flex items-center justify-center flex-shrink-0 text-xs shadow-sm"
>
🤖
</div>
<div
class="bg-white p-3 rounded-2xl rounded-tl-sm shadow-sm text-sm text-slate-700 max-w-[85%] border border-slate-100"
>
Hello! I am Aira 😊 Welcome to Aira Group of Technology. How can
I assist you today?
</div>
</div>
</div>
<!-- Input Area -->
<div class="w-full p-3 bg-white border-t border-slate-200 shrink-0">
<div class="relative flex items-center">
<input
type="text"
id="chat-input"
placeholder="Ask Aira anything..."
class="w-full pl-4 pr-12 py-3 bg-slate-50 rounded-full border border-slate-200 focus:border-blue-500 focus:ring-2 focus:ring-blue-100 outline-none text-sm transition-all"
onkeypress="handleChatEnter(event)"
/>
<button
onclick="sendChatMessage()"
class="absolute right-2 w-9 h-9 bg-blue-600 hover:bg-blue-700 text-white rounded-full flex items-center justify-center transition-colors shadow-md"
>
<i class="fas fa-paper-plane text-xs -ml-0.5"></i>
</button>
</div>
<div class="text-center mt-2 pb-1">
<button
onclick="logoutPuter()"
class="text-[10px] text-slate-400 hover:text-red-500 transition-colors"
>
Log out from Puter
</button>
</div>
</div>
</div>
</div>
<!-- Toggle Button -->
<button
id="chat-toggle-btn"
class="w-16 h-16 bg-gradient-to-br from-blue-600 to-[#0a2342] text-white rounded-full shadow-2xl hover:shadow-blue-500/40 hover:-translate-y-1 transition-all duration-300 flex items-center justify-center text-2xl relative z-50 group"
>
<i
class="fas fa-robot group-hover:scale-0 transition-transform duration-300 absolute"
></i>
<i
class="fas fa-comment-dots scale-0 group-hover:scale-100 transition-transform duration-300 absolute"
></i>
<span
class="absolute top-1 right-1 w-3.5 h-3.5 bg-green-400 border-2 border-[#0a2342] rounded-full"
></span>
</button>
</div>
<!-- Careers Application Modal -->
<div
id="careers-modal"
class="fixed inset-0 z-50 flex items-center justify-center hidden bg-black/60 backdrop-blur-sm p-4 transition-all duration-300"
>
<div
class="bg-white rounded-2xl w-full max-w-lg shadow-2xl overflow-hidden"
>
<!-- Header -->
<div
class="bg-gradient-to-r from-blue-600 to-[#0a2342] text-white px-6 py-4 flex justify-between items-center"
>
<div>
<h3 class="font-bold text-lg">Apply for Position</h3>
<p id="modal-job-title" class="text-xs text-blue-200 font-medium">
Job Title
</p>
</div>
<button
onclick="closeCareersModal()"
class="text-white/80 hover:text-white transition-colors w-8 h-8 flex items-center justify-center rounded-full hover:bg-white/10"
>
<i class="fas fa-times"></i>
</button>
</div>
<!-- Form -->
<form
id="careers-apply-form"
action="https://formsubmit.co/adameehan34@gmail.com"
method="POST"
enctype="multipart/form-data"
class="p-6 space-y-4"
>
<input type="hidden" id="applied-job-title" name="Job Title" />
<input type="hidden" name="_next" id="careers-next-url" value="" />
<input
type="hidden"
name="_subject"
id="careers-email-subject"
value="💼 Job Application - Aira Group!"
/>
<div>
<label
for="applicantName"
class="block text-sm font-semibold text-[#0a2342] mb-1"
>Full Name *</label
>
<input
type="text"
id="applicantName"
name="Name"
required
class="w-full px-4 py-2.5 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="applicantEmail"
class="block text-sm font-semibold text-[#0a2342] mb-1"
>Email Address *</label
>
<input
type="email"
id="applicantEmail"
name="Email"
required
class="w-full px-4 py-2.5 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="applicantPhone"
class="block text-sm font-semibold text-[#0a2342] mb-1"
>Phone Number *</label
>
<input
type="tel"
id="applicantPhone"
name="Phone"
required
class="w-full px-4 py-2.5 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="applicantPortfolio"
class="block text-sm font-semibold text-[#0a2342] mb-1"
>GitHub / Portfolio Link *</label
>
<input
type="url"
id="applicantPortfolio"
name="Portfolio"
required
placeholder="https://..."
class="w-full px-4 py-2.5 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300"
/>
</div>
<div>
<label
for="applicantResume"
class="block text-sm font-semibold text-[#0a2342] mb-1"
>Upload Resume (PDF, DOC, DOCX) *</label
>
<input
type="file"
id="applicantResume"
name="attachment"
required
accept=".pdf,.doc,.docx"
class="w-full px-4 py-2.5 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300 bg-white file:mr-4 file:py-1.5 file:px-3 file:rounded-full file:border-0 file:text-xs file:font-semibold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100"
/>
</div>
<div>
<label
for="applicantMessage"
class="block text-sm font-semibold text-[#0a2342] mb-1"
>Why do you want to join us? *</label
>
<textarea
id="applicantMessage"
name="Message"
rows="3"
required
class="w-full px-4 py-2.5 rounded-lg border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300 resize-none"
></textarea>
</div>
<button
type="submit"
class="btn-primary w-full text-white px-6 py-3 rounded-lg font-semibold text-base mt-2"
>
Submit Application
</button>
</form>
<div
id="apply-form-success"
class="hidden p-6 bg-green-50 border-t border-green-100 text-green-800 text-center font-medium"
>
<i class="fas fa-check-circle mr-2"></i>Application submitted
successfully!
</div>
</div>
</div>
<!-- Chat Widget Logic -->
<script>
const chatWidgetBtn = document.getElementById("chat-toggle-btn");
const chatWindow = document.getElementById("aira-chat-window");
const closeChatBtn = document.getElementById("close-chat-btn");
const chatInput = document.getElementById("chat-input");
const chatMessages = document.getElementById("chat-messages");
// Toggle UI
chatWidgetBtn.addEventListener("click", () => {
chatWindow.classList.toggle("hidden");
checkAuth();
});
closeChatBtn.addEventListener("click", () =>
chatWindow.classList.add("hidden"),
);
// Auth Logic
async function checkAuth() {
if (puter.auth.isSignedIn()) {
document.getElementById("chat-login-section").classList.add("hidden");
document
.getElementById("chat-interface")
.classList.replace("hidden", "flex");
} else {
document
.getElementById("chat-login-section")
.classList.remove("hidden");
document
.getElementById("chat-interface")
.classList.replace("flex", "hidden");
}
}
async function loginWithPuter() {
await puter.auth.signIn();
checkAuth();
}
function logoutPuter() {
puter.auth.signOut();
checkAuth();
}
// Chat Logic
function appendMessage(text, isUser = false) {
const msgDiv = document.createElement("div");
msgDiv.className = isUser
? "flex items-start gap-2 flex-row-reverse"
: "flex items-start gap-2";
const avatar = isUser
? ""
: `<div class="w-8 h-8 rounded-full bg-gradient-to-br from-blue-600 to-[#0a2342] flex items-center justify-center flex-shrink-0 text-xs shadow-sm">🤖</div>`;
const bubbleClass = isUser
? "bg-blue-600 text-white p-3 rounded-2xl rounded-tr-sm shadow-sm text-sm max-w-[85%]"
: "bg-white p-3 rounded-2xl rounded-tl-sm shadow-sm text-sm text-slate-700 max-w-[85%] border border-slate-100";
msgDiv.innerHTML = `${avatar}<div class="${bubbleClass}">${text}</div>`;
chatMessages.appendChild(msgDiv);
chatMessages.scrollTop = chatMessages.scrollHeight;
return msgDiv;
}
// Chat History State
let chatHistory = [];
async function sendChatMessage() {
const msg = chatInput.value.trim();
if (!msg) return;
appendMessage(msg, true);
chatInput.value = "";
const typingBubble = appendMessage("...", false);
const messageBubble = typingBubble.lastElementChild; // Fix: target the actual text bubble, not the robot avatar!
try {
const systemPrompt = `You are Aira, an intelligent AI support assistant created by Adam Eehan for Aira Group of Technology.
Answer concisely in professional English.
COMPANY INFO: Aira Group provides Web Development (web), Mobile Apps (mobile), AI & Machine Learning (ai), Custom Software (custom), Tech Consulting & Strategy (consulting), and MVP Solutions (mvp). Contact: adameehan34@gmail.com or +91 8921 584 368.
CO-PILOT CAPABILITY:
You can help users fill out the client contact form dynamically.
If they want to hire Aira Group or express interest in a project, guide the conversation to gather:
1. First Name
2. Last Name
3. Email
4. Company Name (optional)
5. Service Interest (must be one of: web, mobile, ai, custom, consulting, mvp, or other)
6. Project Details (Brief description)
Once you have gathered at least Name, Email, Service, and Project Details, tell the user that you are now filling the contact form for them, and end your response with EXACTLY this hidden tag (with the collected JSON data inside):
[AUTOFILL:{"firstName":"First", "lastName":"Last", "email":"user@email.com", "company":"Company", "service":"service_code", "message":"Project message here"}]
Use these service_codes: "web", "mobile", "ai", "custom", "consulting", "mvp", "other".
STRICT RULE: If a user asks for programming code or scripts, politely decline. State that you are a customer support AI for Aira Group and do NOT provide code snippets. NEVER write code.`;
if (chatHistory.length === 0) {
chatHistory.push({ role: "system", content: systemPrompt });
}
chatHistory.push({ role: "user", content: msg });
// Keep history size within limits
if (chatHistory.length > 20) {
chatHistory = [chatHistory[0]].concat(chatHistory.slice(-18));
}
const response = await puter.ai.chat(chatHistory);
// Properly extracting text from Puter's JSON response to fix [object Object]
let replyText = "Error processing response";
if (typeof response === "string") {
replyText = response;
} else if (response?.message?.content) {
replyText = response.message.content; // Extracts exact message content
} else if (
response?.message &&
typeof response.message === "string"
) {
replyText = response.message;
} else if (response?.text) {
replyText = response.text;
}
// Check and parse autofill command tag
let autofillData = null;
const autofillRegex = /\[AUTOFILL:(.*?)\]/s;
const match = replyText.match(autofillRegex);
if (match) {
try {
autofillData = JSON.parse(match[1].trim());
} catch (e) {
console.error("Autofill parsing failed:", e);
}
// Remove autofill tag from visible chat text
replyText = replyText.replace(autofillRegex, "").trim();
}
// Save assistant response to history
chatHistory.push({ role: "assistant", content: replyText });
// Typing effect (Typewriter)
messageBubble.innerText = "";
let displayedText = "";
for (let i = 0; i < replyText.length; i++) {
displayedText += replyText.charAt(i);
// Convert markdown ** to bold and preserve spaces/newlines!
messageBubble.innerHTML = displayedText
.replace(/\*\*(.*?)\*\*/g, "<strong>$1</strong>")
.replace(/\n/g, "<br>");
chatMessages.scrollTop = chatMessages.scrollHeight;
await new Promise((r) => setTimeout(r, 15)); // 15ms typing speed per character
}
// If autofill tag was detected, trigger form filling!
if (autofillData) {
autofillContactForm(autofillData);
}
} catch (error) {
messageBubble.innerText = "Network Error 😅 Please try again.";
}
}
function handleChatEnter(e) {
if (e.key === "Enter") sendChatMessage();
}
// Dynamic Autofill Contact Form
// Dynamic Autofill Contact Form (Cybernetic AI Co-Pilot)
let copilotActive = false;
let copilotSkipRequested = false;
let currentTypingTimer = null;
let currentResolve = null;
function updateHudStatus(elementId, status) {
const hudItem = document.getElementById(`hud-${elementId}`);
if (!hudItem) return;
const dot = hudItem.querySelector(".hud-dot");
hudItem.classList.remove(
"opacity-50",
"opacity-100",
"text-blue-400",
"text-green-400",
);
if (dot) {
dot.className =
"hud-dot w-2 h-2 rounded-full transition-all duration-300";
}
if (status === "waiting") {
hudItem.classList.add("opacity-50");
if (dot) dot.classList.add("bg-slate-500");
} else if (status === "typing") {
hudItem.classList.add("opacity-100", "text-blue-400");
if (dot) dot.classList.add("bg-blue-500", "animate-pulse");
} else if (status === "completed") {
hudItem.classList.add("opacity-100", "text-green-400");
if (dot) dot.classList.add("bg-green-500");
}
}
function updateHudProgress() {
const fields = [
"firstName",
"lastName",
"email",
"company",
"service",
"message",
];
let completedCount = 0;
fields.forEach((f) => {
const hudItem = document.getElementById(`hud-${f}`);
if (
hudItem &&
(hudItem.classList.contains("text-green-400") ||
hudItem.classList.contains("text-blue-400"))
) {
completedCount++;
}
});
const pct = Math.round((completedCount / fields.length) * 100);
const bar = document.getElementById("copilot-progress");
if (bar) bar.style.width = `${pct}%`;
}
function setFieldBadge(elementId, type) {
const input = document.getElementById(elementId);
if (!input) return;
const container = input.parentElement;
if (!container) return;
const label = container.querySelector("label");
if (!label) return;
const oldBadge = label.querySelector(".copilot-badge");
if (oldBadge) oldBadge.remove();
if (type === "typing") {
const badge = document.createElement("span");
badge.className =
"copilot-badge ml-2 text-[10px] font-semibold px-2 py-0.5 rounded-full bg-blue-500/20 text-blue-400 border border-blue-500/30 inline-flex items-center gap-1 animate-pulse";
badge.innerHTML = '<i class="fas fa-robot"></i> typing...';
label.appendChild(badge);
input.classList.add("ring-4", "ring-blue-500/20", "border-blue-500");
input.classList.remove("border-slate-300");
} else if (type === "completed") {
const badge = document.createElement("span");
badge.className =
"copilot-badge ml-2 text-[10px] font-semibold px-2 py-0.5 rounded-full bg-green-500/20 text-green-400 border border-green-500/30 inline-flex items-center gap-1";
badge.innerHTML = '<i class="fas fa-check"></i> autofilled';
label.appendChild(badge);
input.classList.remove(
"ring-4",
"ring-blue-500/20",
"border-blue-500",
);
input.classList.add("border-green-500", "bg-green-50/5");
input.classList.add("ring-4", "ring-green-500/30");
setTimeout(() => {
input.classList.remove("ring-4", "ring-green-500/30");
}, 800);
} else if (type === "clear") {
input.classList.remove(
"ring-4",
"ring-blue-500/20",
"border-blue-500",
"border-green-500",
"bg-green-50/5",
);
input.classList.add("border-slate-300");
}
}
async function typeInputValue(elementId, value) {
if (!copilotActive) return;
const input = document.getElementById(elementId);
if (!input) return;
input.value = "";
setFieldBadge(elementId, "typing");
updateHudStatus(elementId, "typing");
updateHudProgress();
const labelText =
elementId === "message"
? "project details"
: elementId.replace(/([A-Z])/g, " $1");
document.getElementById("copilot-status-text").innerText =
`Typing ${labelText.toLowerCase()}...`;
if (!value) {
setFieldBadge(elementId, "completed");
updateHudStatus(elementId, "completed");
updateHudProgress();
return;
}
return new Promise((resolve) => {
currentResolve = resolve;
let i = 0;
function type() {
if (!copilotActive) {
resolve();
return;
}
if (copilotSkipRequested) {
input.value = value;
setFieldBadge(elementId, "completed");
updateHudStatus(elementId, "completed");
updateHudProgress();
resolve();
return;
}
if (i < value.length) {
input.value += value.charAt(i);
i++;
currentTypingTimer = setTimeout(type, 15);
} else {
setFieldBadge(elementId, "completed");
updateHudStatus(elementId, "completed");
updateHudProgress();
resolve();
}
}
type();
});
}
async function autofillContactForm(data) {
if (copilotActive) return;
copilotActive = true;
copilotSkipRequested = false;
const fields = [
"firstName",
"lastName",
"email",
"company",
"service",
"message",
];
fields.forEach((f) => {
updateHudStatus(f, "waiting");
setFieldBadge(f, "clear");
});
const hud = document.getElementById("aira-copilot-hud");
if (hud) {
hud.classList.remove("translate-y-20", "opacity-0", "pointer-events-none");
hud.classList.add("translate-y-0", "opacity-100", "pointer-events-auto");
document.getElementById("copilot-progress").style.width = "0%";
document.getElementById("copilot-status-text").innerText =
"Initializing...";
}
const chatWindow = document.getElementById("aira-chat-window");
if (chatWindow) chatWindow.classList.add("hidden");
const contactSection = document.getElementById("contact");
if (contactSection) {
const offset = 80;
const targetPosition = contactSection.offsetTop - offset;
window.scrollTo({
top: targetPosition,
behavior: "smooth",
});
}
await new Promise((r) => setTimeout(r, 1000));
if (!copilotActive) return;
await typeInputValue("firstName", data.firstName || "");
if (!copilotActive) return;
await new Promise((r) => setTimeout(r, 150));
await typeInputValue("lastName", data.lastName || "");
if (!copilotActive) return;
await new Promise((r) => setTimeout(r, 150));
await typeInputValue("email", data.email || "");
if (!copilotActive) return;
await new Promise((r) => setTimeout(r, 150));
await typeInputValue("company", data.company || "");
if (!copilotActive) return;
await new Promise((r) => setTimeout(r, 150));
if (data.service) {
updateHudStatus("service", "typing");
document.getElementById("copilot-status-text").innerText =
"Selecting service...";
const serviceSelect = document.getElementById("service");
if (serviceSelect) {
setFieldBadge("service", "typing");
await new Promise((r) => setTimeout(r, 400));
serviceSelect.value = data.service;
serviceSelect.dispatchEvent(new Event("change"));
setFieldBadge("service", "completed");
}
updateHudStatus("service", "completed");
updateHudProgress();
} else {
updateHudStatus("service", "completed");
updateHudProgress();
}
if (!copilotActive) return;
await new Promise((r) => setTimeout(r, 150));
await typeInputValue("message", data.message || "");
if (!copilotActive) return;
document.getElementById("copilot-status-text").innerText =
"Autofill complete! ✓";
const submitBtn = document.querySelector(
"#contact-form button[type='submit']",
);
if (submitBtn) {
submitBtn.classList.add(
"ring-4",
"ring-blue-500",
"animate-pulse",
"scale-[1.02]",
);
}
await new Promise((r) => setTimeout(r, 1500));
if (!copilotActive) return;
document.getElementById("copilot-status-text").innerText =
"Submitting form... 🚀";
await new Promise((r) => setTimeout(r, 1000));
if (!copilotActive) return;
// Submit the form programmatically
const contactForm = document.getElementById("contact-form");
if (contactForm) {
contactForm.requestSubmit(); // Triggers standard submit event listener
}
if (submitBtn) {
submitBtn.classList.remove(
"ring-4",
"ring-blue-500",
"animate-pulse",
"scale-[1.02]",
);
}
closeCopilotHud();
}
function skipAutofill() {
if (!copilotActive) return;
copilotSkipRequested = true;
if (currentTypingTimer) clearTimeout(currentTypingTimer);
if (currentResolve) currentResolve();
}
function cancelAutofill() {
copilotActive = false;
if (currentTypingTimer) clearTimeout(currentTypingTimer);
if (currentResolve) currentResolve();
const fields = [
"firstName",
"lastName",
"email",
"company",
"service",
"message",
];
fields.forEach((f) => {
setFieldBadge(f, "clear");
const input = document.getElementById(f);
if (input) input.value = "";
});
const serviceSelect = document.getElementById("service");
if (serviceSelect) serviceSelect.value = "";
closeCopilotHud();
}
function closeCopilotHud() {
copilotActive = false;
const hud = document.getElementById("aira-copilot-hud");
if (hud) {
hud.classList.remove("translate-y-0", "opacity-100", "pointer-events-auto");
hud.classList.add("translate-y-20", "opacity-0", "pointer-events-none");
}
}
</script>
<!-- AIRA TERMINAL -->
<style>
/* TERMINAL BUTTON */
#aira-term-btn {
position: fixed;
bottom: 24px;
left: 24px;
width: 56px;
height: 56px;
border-radius: 16px;
background: linear-gradient(135deg, #1a1d27, #12151c);
border: 1px solid rgba(108, 99, 255, 0.4);
box-shadow: 0 0 20px rgba(108, 99, 255, 0.25), 0 4px 20px rgba(0, 0, 0, 0.4);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 9998;
transition: transform 0.2s, box-shadow 0.2s;
font-size: 22px;
}
#aira-term-btn:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 0 30px rgba(108, 99, 255, 0.45), 0 8px 30px rgba(0, 0, 0, 0.4);
}
#aira-term-btn .term-tooltip {
position: absolute;
left: 64px;
background: #1a1d27;
border: 1px solid rgba(108, 99, 255, 0.3);
color: #e8eaf0;
font-size: 12px;
font-family: 'JetBrains Mono', monospace, monospace;
padding: 6px 12px;
border-radius: 8px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
}
#aira-term-btn:hover .term-tooltip { opacity: 1; }
/* TERMINAL POPUP */
#aira-terminal {
position: fixed;
bottom: 100px;
left: 24px;
width: 480px;
max-width: calc(100vw - 48px);
height: 420px;
background: #0d0f14;
border: 1px solid rgba(108, 99, 255, 0.35);
border-radius: 16px;
overflow: hidden;
z-index: 9997;
display: none;
flex-direction: column;
box-shadow: 0 0 40px rgba(108, 99, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.6);
font-family: 'JetBrains Mono', 'Courier New', monospace;
font-size: 13px;
animation: termSlideUp 0.25s ease;
}
@keyframes termSlideUp {
from { opacity: 0; transform: translateY(20px) scale(0.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
#aira-terminal.open { display: flex; }
/* TITLEBAR */
.term-bar {
background: #12151c;
border-bottom: 1px solid #1e2230;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.term-dots { display: flex; gap: 7px; }
.term-dot {
width: 12px; height: 12px;
border-radius: 50%;
cursor: pointer;
}
.td-r { background: #ff5f57; }
.td-y { background: #febc2e; }
.td-g { background: #28c840; }
.term-title {
flex: 1;
text-align: center;
color: #e8eaf0;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.75px;
}
.term-user-badge {
background: rgba(108, 99, 255, 0.15);
border: 1px solid rgba(108, 99, 255, 0.25);
color: #a89dff;
font-size: 11px;
padding: 3px 10px;
border-radius: 100px;
}
/* OUTPUT AREA */
.term-output {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 16px;
color: #e8eaf0;
line-height: 1.8;
scroll-behavior: smooth;
}
.term-output::-webkit-scrollbar { width: 6px; }
.term-output::-webkit-scrollbar-track { background: transparent; }
.term-output::-webkit-scrollbar-thumb { background: rgba(108, 99, 255, 0.4); border-radius: 4px; }
.term-output::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.6); }
.t-green { color: #4ade80; }
.t-cyan { color: #00e5ff; }
.t-purple { color: #a89dff; }
.t-yellow { color: #fbbf24; }
.t-red { color: #f87171; }
.t-muted { color: #9ca3af; }
.t-white { color: #e8eaf0; }
/* INPUT AREA */
.term-input-row {
border-top: 1px solid #1e2230;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
background: #0d0f14;
}
.term-prompt-label {
color: #00e5ff;
white-space: nowrap;
font-size: 13px;
}
#term-input {
flex: 1;
background: transparent;
border: none;
outline: none;
color: #e8eaf0;
font-family: inherit;
font-size: 13px;
caret-color: #00e5ff;
}
#term-input::placeholder { color: #2d3148; }
/* LOGIN SCREEN */
.term-login {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
padding: 24px;
text-align: center;
}
.term-login-icon { font-size: 40px; }
.term-login h3 {
color: #e8eaf0;
font-size: 16px;
font-weight: 600;
}
.term-login p { color: #6b7280; font-size: 12px; line-height: 1.6; }
.term-login-btn {
background: linear-gradient(135deg, #6c63ff, #00e5ff);
color: #fff;
border: none;
padding: 12px 28px;
border-radius: 10px;
font-family: inherit;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s, transform 0.2s;
}
.term-login-btn:hover { opacity: 0.88; transform: translateY(-1px); }
/* FILE UPLOAD INPUT */
#term-file-input { display: none; }
/* Smooth Scroll and Section Offset for Fixed Header */
html {
scroll-behavior: smooth !important;
}
section, footer {
scroll-margin-top: 85px !important;
}
</style>
<!-- FLOATING BUTTON -->
<button id="aira-term-btn" onclick="toggleTerminal()" title="Aira Terminal">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="url(#term-btn-grad)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" style="filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.45));">
<defs>
<linearGradient id="term-btn-grad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#00e5ff" />
<stop offset="100%" stop-color="#6c63ff" />
</linearGradient>
</defs>
<polyline points="4 17 10 11 4 5"></polyline>
<line x1="12" y1="19" x2="20" y2="19"></line>
</svg>
<div class="term-tooltip">Aira Terminal</div>
</button>
<!-- TERMINAL POPUP -->
<div id="aira-terminal">
<!-- Title Bar -->
<div class="term-bar">
<div class="term-dots">
<div class="term-dot td-r" onclick="closeTerminal()" title="Close"></div>
<div class="term-dot td-y"></div>
<div class="term-dot td-g"></div>
</div>
<div class="term-title">Aira CLI Storage</div>
<div class="term-user-badge" id="term-user-badge">not logged in</div>
</div>
<!-- Login Screen (shown if not logged in) -->
<div class="term-login" id="term-login-screen">
<div class="term-login-icon">🔐</div>
<h3>Login to Aira Terminal</h3>
<p>Puter account vazhi login cheyth<br>5GB free cloud storage access cheyyam</p>
<button class="term-login-btn" onclick="termLogin()">🚀 Login with Puter</button>
</div>
<!-- Terminal Output -->
<div class="term-output" id="term-output" style="display: none;"></div>
<!-- Input -->
<div class="term-input-row" id="term-input-row" style="display: none;">
<span class="term-prompt-label">aira $</span>
<input id="term-input" type="text" placeholder="type a command..." autocomplete="off" spellcheck="false" />
</div>
</div>
<!-- Hidden file input for upload -->
<input type="file" id="term-file-input" multiple />
<script>
(function() {
let termOpen = false;
let termUser = null;
let currentPath = '/';
let cmdHistory = [];
let historyIndex = -1;
// Toggle terminal
window.toggleTerminal = function() {
termOpen = !termOpen;
const el = document.getElementById('aira-terminal');
el.classList.toggle('open', termOpen);
if (termOpen) checkAuthState();
};
window.closeTerminal = function() {
termOpen = false;
document.getElementById('aira-terminal').classList.remove('open');
};
// Check if already logged in
async function checkAuthState() {
try {
const user = await puter.auth.getUser();
if (user) {
termUser = user;
showTerminal(user);
}
} catch(e) {
showLoginScreen();
}
}
// Login
window.termLogin = async function() {
try {
const user = await puter.auth.signIn();
termUser = user;
showTerminal(user);
} catch(e) {
alert('Login failed. Try again.');
}
};
function showLoginScreen() {
document.getElementById('term-login-screen').style.display = 'flex';
document.getElementById('term-output').style.display = 'none';
document.getElementById('term-input-row').style.display = 'none';
}
function showTerminal(user) {
document.getElementById('term-login-screen').style.display = 'none';
document.getElementById('term-output').style.display = 'block';
document.getElementById('term-input-row').style.display = 'flex';
document.getElementById('term-user-badge').textContent = user.username || 'user';
const out = document.getElementById('term-output');
if (out.innerHTML === '') {
printBanner(user);
}
document.getElementById('term-input').focus();
}
function printBanner(user) {
print(`<pre class="t-purple" style="font-family: inherit; margin: 0; line-height: 1.2; white-space: pre-wrap;">
___ _
/ _ \\(_)_ _ __ _
| (_) | | '_/ _\` |
\\__\\_|_|_| \\__,_|
</pre>`);
print(`<span class="t-cyan">AIRA CLI (STORAGE) v1.0</span>`);
print(`<span class="t-muted">Secure Personal Cloud Storage by Aira Group</span>`);
print(`<span class="t-muted">© All Rights Reserved by Aira Group</span>`);
print(`<span class="t-muted">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
print(`<span class="t-green">✓ Logged in as</span> <span class="t-yellow">${user.username}</span>`);
print(`<span class="t-muted">Type <span class="t-white">help</span> to see available commands</span>`);
print('');
}
function print(html) {
const out = document.getElementById('term-output');
const line = document.createElement('div');
line.innerHTML = html;
out.appendChild(line);
out.scrollTop = out.scrollHeight;
}
function printLine(text, cls = 't-white') {
print(`<span class="${cls}">${text}</span>`);
}
function printCmd(cmd) {
print(`<span class="t-cyan">aira $</span> <span class="t-white">${cmd}</span>`);
}
// Input handler
const input = document.getElementById('term-input');
input.addEventListener('keydown', async function(e) {
if (e.key === 'Enter') {
const cmd = this.value.trim();
if (!cmd) return;
cmdHistory.unshift(cmd);
historyIndex = -1;
this.value = '';
printCmd(cmd);
await handleCommand(cmd);
} else if (e.key === 'ArrowUp') {
e.preventDefault();
if (historyIndex < cmdHistory.length - 1) {
historyIndex++;
this.value = cmdHistory[historyIndex];
}
} else if (e.key === 'ArrowDown') {
e.preventDefault();
if (historyIndex > 0) {
historyIndex--;
this.value = cmdHistory[historyIndex];
} else {
historyIndex = -1;
this.value = '';
}
}
});
// Command handler
async function handleCommand(raw) {
const parts = raw.trim().split(/\s+/);
const cmd = parts[0].toLowerCase();
const args = parts.slice(1);
switch(cmd) {
case 'help': cmdHelp(); break;
case 'whoami': cmdWhoami(); break;
case 'ails': await cmdAiLs(); break;
case 'aichat': await cmdAiChat(args); break;
case 'api': cmdApi(); break;
case 'ls': await cmdLs(args[0]); break;
case 'mkdir': await cmdMkdir(args[0]); break;
case 'rm': await cmdRm(args[0]); break;
case 'upload': cmdUpload(); break;
case 'download': await cmdDownload(args[0]); break;
case 'storage': await cmdStorage(); break;
case 'pwd': printLine(currentPath, 't-cyan'); break;
case 'cd': await cmdCd(args[0]); break;
case 'clear': document.getElementById('term-output').innerHTML = ''; break;
case 'logout': cmdLogout(); break;
case 'cat': await cmdCat(args[0]); break;
default:
printLine(`Command not found: ${cmd} — type 'help' for commands`, 't-red');
}
print('');
}
function cmdHelp() {
print(`<span class="t-yellow">━━ Aira Terminal Commands ━━━━━━━━━━━━</span>`);
const cmds = [
['ls [path]', 'List files and folders'],
['cd [path]', 'Change directory'],
['pwd', 'Show current path'],
['mkdir [name]', 'Create new folder'],
['upload', 'Upload file(s) from device'],
['download [name]','Download a file'],
['rm [name]', 'Delete file or folder'],
['cat [name]', 'View text file content'],
['storage', 'Show storage usage'],
['ails', 'List available Puter AI models'],
['aichat [model] [prompt]', 'Chat with Puter AI model'],
['api', 'Show your active Puter Session API Key'],
['whoami', 'Show account info'],
['clear', 'Clear terminal'],
['logout', 'Sign out'],
];
cmds.forEach(([c, d]) => {
print(` <span class="t-cyan">${c.padEnd(20)}</span><span class="t-muted">${d}</span>`);
});
}
function cmdWhoami() {
if (!termUser) return printLine('Not logged in', 't-red');
print(`<span class="t-green">Username:</span> <span class="t-yellow">${termUser.username}</span>`);
print(`<span class="t-green">Email:</span> <span class="t-white">${termUser.email || 'N/A'}</span>`);
}
async function cmdLs(path) {
const target = resolvePath(path || currentPath);
try {
printLine(`Listing: ${target}`, 't-muted');
const items = await puter.fs.readdir(toPuterPath(target));
if (!items || items.length === 0) {
printLine('(empty folder)', 't-muted');
return;
}
items.forEach(item => {
const isDir = item.is_dir || item.type === 'directory';
const icon = isDir ? '📁' : '📄';
const name = isDir ? `<span class="t-cyan">${item.name}/</span>` : `<span class="t-white">${item.name}</span>`;
const size = item.size ? `<span class="t-muted"> (${formatSize(item.size)})</span>` : '';
print(` ${icon} ${name}${size}`);
});
} catch(e) {
printLine(`Error reading directory: ${e.message || e}`, 't-red');
}
}
async function cmdMkdir(name) {
if (!name) return printLine('Usage: mkdir [folder-name]', 't-yellow');
try {
await puter.fs.mkdir(toPuterPath(resolvePath(name)));
printLine(`✓ Folder created: ${name}`, 't-green');
} catch(e) {
printLine(`Error: ${e.message || e}`, 't-red');
}
}
async function cmdRm(name) {
if (!name) return printLine('Usage: rm [filename]', 't-yellow');
try {
await puter.fs.delete(toPuterPath(resolvePath(name)));
printLine(`✓ Deleted: ${name}`, 't-green');
} catch(e) {
printLine(`Error: ${e.message || e}`, 't-red');
}
}
function cmdUpload() {
const fileInput = document.getElementById('term-file-input');
fileInput.onchange = async function() {
const files = Array.from(this.files);
if (!files.length) return;
let uploadPath = currentPath;
if (uploadPath === '/') {
printLine(`⚠️ Puter.js does not allow uploading directly to the root directory (/).`, 't-yellow');
printLine(`Automatically uploading to '/uploads' instead...`, 't-muted');
try {
await puter.fs.mkdir(toPuterPath('/uploads')).catch(() => {});
uploadPath = '/uploads';
} catch (err) {
// Ignore errors if directory already exists
}
}
for (const file of files) {
printLine(`Uploading: ${file.name} (${formatSize(file.size)}) to ${uploadPath}...`, 't-muted');
try {
await puter.fs.upload([file], toPuterPath(uploadPath));
printLine(`✓ Uploaded: ${file.name} to ${uploadPath}`, 't-green');
} catch(e) {
printLine(`✗ Failed: ${file.name} — ${e.message || e}`, 't-red');
}
}
this.value = '';
};
fileInput.click();
}
async function cmdDownload(name) {
if (!name) return printLine('Usage: download [filename]', 't-yellow');
try {
printLine(`Downloading: ${name}...`, 't-muted');
const blob = await puter.fs.read(toPuterPath(resolvePath(name)));
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = name;
a.click();
URL.revokeObjectURL(url);
printLine(`✓ Download started: ${name}`, 't-green');
} catch(e) {
printLine(`Error: ${e.message || e}`, 't-red');
}
}
async function cmdStorage() {
try {
printLine('Checking storage...', 't-muted');
// Puter free plan = 1GB; show approximate
print(`<span class="t-green">Storage Plan:</span> <span class="t-yellow">Puter Free</span>`);
print(`<span class="t-green">Available:</span> <span class="t-white">Up to 1GB (free tier)</span>`);
print(`<span class="t-muted">Tip: Use 'ls' to browse your files</span>`);
} catch(e) {
printLine(`Error: ${e.message || e}`, 't-red');
}
}
async function cmdCd(path) {
if (!path || path === '~') { currentPath = '/'; printLine(`→ ${currentPath}`, 't-cyan'); return; }
if (path === '..') {
const parts = currentPath.split('/').filter(Boolean);
parts.pop();
currentPath = '/' + parts.join('/');
if (currentPath === '') currentPath = '/';
printLine(`→ ${currentPath}`, 't-cyan');
return;
}
const target = resolvePath(path);
try {
await puter.fs.readdir(toPuterPath(target));
currentPath = target;
printLine(`→ ${currentPath}`, 't-cyan');
} catch(e) {
printLine(`No such directory: ${path}`, 't-red');
}
}
async function cmdCat(name) {
if (!name) return printLine('Usage: cat [filename]', 't-yellow');
try {
const blob = await puter.fs.read(toPuterPath(resolvePath(name)));
const text = await blob.text();
print(`<span class="t-muted">━━ ${name} ━━━━━━━━━━━</span>`);
text.split('\n').forEach(line => printLine(line || ' ', 't-white'));
} catch(e) {
printLine(`Error: ${e.message || e}`, 't-red');
}
}
async function cmdAiLs() {
try {
printLine('Fetching available AI models from Puter...', 't-muted');
const models = await puter.ai.listModels();
if (!models || models.length === 0) {
printLine('No models found.', 't-yellow');
return;
}
printLine(`Available AI Models (${models.length}):`, 't-green');
// Filter unique IDs and sort them
const uniqueModels = Array.from(new Set(models.map(m => m.id)))
.map(id => models.find(m => m.id === id))
.filter(Boolean)
.sort((a, b) => a.id.localeCompare(b.id));
const displayLimit = 45;
uniqueModels.slice(0, displayLimit).forEach(model => {
const providerStr = model.provider ? `<span class="t-purple">[${model.provider}]</span> ` : '';
print(" " + providerStr + `<span class="t-cyan">${model.id}</span>`);
});
if (uniqueModels.length > displayLimit) {
print(` <span class="t-muted">...and ${uniqueModels.length - displayLimit} more models.</span>`);
}
print('');
printLine(`To chat, type: <span class="t-white">aichat [model_id] [prompt]</span>`, 't-yellow');
printLine(`Or default: <span class="t-white">aichat [prompt]</span>`, 't-muted');
} catch (e) {
printLine(`Error fetching models: ${e.message || e}`, 't-red');
}
}
async function cmdAiChat(args) {
if (args.length < 1) {
printLine('Usage: aichat [model_id] [prompt] OR aichat [prompt]', 't-yellow');
printLine('Example: aichat openai/gpt-4o hello there', 't-muted');
printLine('Example (Default model): aichat hello there', 't-muted');
return;
}
let modelId = null;
let prompt = '';
if (args[0].includes('/')) {
modelId = args[0];
prompt = args.slice(1).join(' ');
} else {
prompt = args.join(' ');
}
if (!prompt) {
printLine('Error: Prompt cannot be empty.', 't-red');
return;
}
try {
const options = modelId ? { model: modelId } : {};
const displayModel = modelId || 'default model';
printLine(`Sending prompt to ${displayModel} using your Puter session...`, 't-muted');
const response = await puter.ai.chat(prompt, options);
let text = '';
if (typeof response === 'string') {
text = response;
} else if (response?.message?.content) {
text = response.message.content;
} else if (response?.text) {
text = response.text;
} else {
text = JSON.stringify(response);
}
printLine(`\n[${displayModel} Response]:`, 't-green');
text.split('\n').forEach(line => printLine(line || ' ', 't-white'));
} catch (e) {
printLine(`Error: ${e.message || e}`, 't-red');
}
}
function cmdApi() {
if (!termUser) {
printLine('You are not logged in. Please log in first.', 't-red');
return;
}
let token = null;
try {
token = localStorage.getItem('puter.auth.token') || sessionStorage.getItem('puter.auth.token');
if (!token) {
for (let i = 0; i < localStorage.length; i++) {
const key = localStorage.key(i);
if (key.toLowerCase().includes('token') || key.toLowerCase().includes('auth')) {
token = localStorage.getItem(key);
break;
}
}
}
} catch (e) {
// Ignore security errors in sandboxed iframes
}
if (!token) {
print(`<span class="t-yellow">━━ Puter API Token ━━━━━━━━━━━━</span>`);
if (window.location.protocol === 'file:') {
printLine('⚠️ You are viewing this site directly as a local file (file://).', 't-yellow');
printLine('Browsers block LocalStorage access on local files for security,');
printLine('so the CLI cannot read your session token.', 't-muted');
printLine('To resolve: Run a local web server (e.g. VS Code Live Server, or run "npx serve").', 't-green');
} else {
printLine('Could not find active session token in local storage.', 't-red');
printLine('Please ensure your browser settings allow LocalStorage and cookies.', 't-muted');
}
print('');
printLine('Manual Option:', 't-cyan');
printLine('1. Go to your Dashboard: https://puter.com/dashboard#account');
printLine('2. Find the "Auth Token" section and copy your token.');
print(`<span class="t-muted">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
return;
}
print(`<span class="t-yellow">━━ Your Puter API Key / Auth Token ━━━━━━━━━━━━</span>`);
printLine('Below is your active Puter Session Auth Token (acts as your API Key).');
printLine('Use this to connect Puter SDK or OpenAI-compatible backend services.');
print('');
print(` <span class="t-cyan">Token:</span>`);
print(` <span class="t-white" style="word-break: break-all; background: rgba(255,255,255,0.06); padding: 4px 8px; border-radius: 6px; display: block; border: 1px solid rgba(255,255,255,0.1); margin: 6px 0;">${token}</span>`);
print('');
printLine('⚠️ Keep this token secret! Anyone with this token can access your cloud storage & AI credits.', 't-yellow');
printLine('Node.js Initialization Example:', 't-muted');
print(`<span class="t-white"> const puter = require('@heyputer/puter.js').init("${token.substring(0, 15)}...");</span>`);
print(`<span class="t-muted">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
}
function cmdLogout() {
puter.auth.signOut();
termUser = null;
document.getElementById('term-output').innerHTML = '';
showLoginScreen();
document.getElementById('term-user-badge').textContent = 'not logged in';
}
function resolvePath(p) {
if (!p) return currentPath;
if (p.startsWith('/')) return p;
return (currentPath === '/' ? '' : currentPath) + '/' + p;
}
function toPuterPath(p) {
if (!p) return '.';
let cleaned = p;
while (cleaned.startsWith('/')) {
cleaned = cleaned.substring(1);
}
return cleaned === '' ? '.' : cleaned;
}
function formatSize(bytes) {
if (!bytes) return '0 B';
if (bytes < 1024) return bytes + ' B';
if (bytes < 1024*1024) return (bytes/1024).toFixed(1) + ' KB';
return (bytes/(1024*1024)).toFixed(1) + ' MB';
}
})();
</script>
<!-- Floating Direct WhatsApp Client Connect -->
<a
href="https://wa.me/918921584368?text=Hello%20Er.%20Adam%20Eehan,%20I%20would%20like%20to%20discuss%20a%20project%20with%20Aira%20Group."
target="_blank"
class="fixed bottom-6 left-6 z-50 bg-[#25D366] hover:bg-[#20ba59] text-white p-3.5 sm:px-5 sm:py-3.5 rounded-full shadow-2xl hover:scale-105 transition-all duration-300 flex items-center gap-2.5 border-2 border-white/80 group"
title="Chat directly with Founder on WhatsApp"
>
<i class="fab fa-whatsapp text-2xl"></i>
<span class="font-semibold text-xs sm:text-sm tracking-wide hidden sm:inline">Chat with Founder</span>
</a>
</body>
</html>