3863 lines
155 KiB
HTML
3863 lines
155 KiB
HTML
<!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"
|
||
/>
|
||
<!-- Google Identity Services (GSI) -->
|
||
<script src="https://accounts.google.com/gsi/client" async defer></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"
|
||
>Feedback</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"
|
||
>Feedback</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 text-cyan-400">100%</div>
|
||
<div class="text-slate-300 text-sm">Sovereign Architecture</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 text-emerald-400">5+</div>
|
||
<div class="text-slate-300 text-sm">Flagship Systems</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 text-blue-400">< 4m</div>
|
||
<div class="text-slate-300 text-sm">Automated Cloud CI/CD</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-12 items-center">
|
||
<div class="relative animate-fade-in space-y-6">
|
||
<div class="absolute -top-6 -left-6 w-72 h-72 bg-blue-100 rounded-full blur-3xl opacity-50"></div>
|
||
|
||
<!-- Card 1: Founder & CEO -->
|
||
<div class="relative bg-gradient-to-br from-[#0a2342] to-[#13315c] rounded-3xl p-6 sm:p-8 shadow-2xl text-white border border-blue-500/20">
|
||
<div class="flex items-center gap-4 mb-4">
|
||
<img src="assets/logo.png" alt="Aira Group Logo" class="w-14 h-14 rounded-2xl shadow-lg border border-white/20 object-contain bg-white" />
|
||
<div>
|
||
<h3 class="text-xl font-bold">Er. Adam Eehan</h3>
|
||
<p class="text-blue-300 text-xs font-semibold uppercase tracking-wider">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-xs sm:text-sm leading-relaxed mb-4 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-3 pt-3 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-terminal text-emerald-400"></i>
|
||
<span>Bare-Metal Systems</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Card 2: Co-Founder -->
|
||
<div class="relative bg-gradient-to-br from-[#0b192c] to-[#1e3e62] rounded-3xl p-6 sm:p-8 shadow-2xl text-white border border-cyan-500/20">
|
||
<div class="flex items-center gap-4 mb-4">
|
||
<div class="w-14 h-14 rounded-2xl bg-gradient-to-br from-cyan-500 to-blue-600 flex items-center justify-center text-white font-bold text-xl shadow-lg border border-white/20">
|
||
AK
|
||
</div>
|
||
<div>
|
||
<h3 class="text-xl font-bold">Anandha Krishnan</h3>
|
||
<p class="text-cyan-300 text-xs font-semibold uppercase tracking-wider">Co-Founder & Executive Director</p>
|
||
<p class="text-xs text-slate-400">Aira Group of Technology</p>
|
||
</div>
|
||
</div>
|
||
<p class="text-slate-200 text-xs sm:text-sm leading-relaxed mb-4 italic">
|
||
"Scaling sovereign deep-tech requires unifying foundational engineering with disciplined operational strategy. Together, we engineer high-impact solutions built to endure."
|
||
</p>
|
||
<div class="grid grid-cols-2 gap-3 pt-3 border-t border-white/10 text-xs text-slate-300">
|
||
<div class="flex items-center gap-2">
|
||
<i class="fas fa-network-wired text-cyan-400"></i>
|
||
<span>Systems Co-Direction</span>
|
||
</div>
|
||
<div class="flex items-center gap-2">
|
||
<i class="fas fa-chart-line text-emerald-400"></i>
|
||
<span>Strategic Operations</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 an independent sovereign deep-tech engineering powerhouse founded by <strong>Er. Adam Eehan</strong> and co-founded by <strong>Anandha Krishnan</strong> 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>
|
||
|
||
<!-- Verified Reviews & Community Feedback Section -->
|
||
<section id="trusted" class="py-24 bg-slate-50 relative overflow-hidden">
|
||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||
<!-- Section Header -->
|
||
<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">
|
||
Verified Reviews & Community Feedback
|
||
</span>
|
||
<h2 class="font-display text-4xl md:text-5xl font-bold text-[#0a2342] mt-3 mb-4">
|
||
Direct Feedback from Clients & Builders
|
||
</h2>
|
||
<p class="text-lg text-slate-600">
|
||
Real feedback authenticated directly via Google. No dummy reviews or fake corporate logos — verified by genuine developers, students, and clients who build with Aira Group.
|
||
</p>
|
||
</div>
|
||
|
||
<!-- Google Feedback Box (Client Verified Submission Card) -->
|
||
<div class="max-w-3xl mx-auto bg-white rounded-3xl p-8 md:p-10 shadow-xl border border-slate-200/80 mb-20 animate-scale relative">
|
||
<!-- State 1: When user is logged out -->
|
||
<div id="google-feedback-loggedout" class="text-center py-6">
|
||
<div class="w-16 h-16 mx-auto mb-4 rounded-2xl bg-blue-50 border border-blue-100 flex items-center justify-center shadow-inner">
|
||
<svg class="w-8 h-8" viewBox="0 0 24 24">
|
||
<path fill="#4285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/>
|
||
<path fill="#34A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/>
|
||
<path fill="#FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l2.85-2.22.81-.63z"/>
|
||
<path fill="#EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z"/>
|
||
</svg>
|
||
</div>
|
||
<h3 class="text-2xl font-bold text-[#0a2342] mb-2">Leave a Verified Review</h3>
|
||
<p class="text-slate-600 text-sm max-w-md mx-auto mb-6 leading-relaxed">
|
||
Sign in with your official Google account to share your feedback. Your verified Google photo and Gmail will automatically link to your review.
|
||
</p>
|
||
|
||
<!-- Real Official Google Sign In Container -->
|
||
<div class="flex flex-col items-center justify-center my-4">
|
||
<div id="gsi-btn-container" class="min-h-[50px] flex justify-center items-center"></div>
|
||
|
||
<!-- Direct Token Client Fallback for Mobile/FedCM/White-screen bypass -->
|
||
<button
|
||
type="button"
|
||
onclick="triggerGoogleOAuth()"
|
||
class="mt-3 text-xs text-blue-600 hover:text-blue-800 font-medium inline-flex items-center gap-1.5 transition-colors px-3 py-1.5 rounded-lg hover:bg-blue-50"
|
||
title="Direct Google Account Selector"
|
||
>
|
||
<i class="fab fa-google text-[11px]"></i>
|
||
<span>Direct Google Account Sign-In</span>
|
||
</button>
|
||
</div>
|
||
|
||
<div class="mt-4 flex items-center justify-center gap-2 text-xs text-slate-400">
|
||
<i class="fas fa-shield-halved text-[10px] text-blue-500"></i>
|
||
<span>Official Google OAuth 2.0 • 100% Cryptographically Verified</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- State 2: When user is logged in via Google -->
|
||
<div id="google-feedback-loggedin" class="hidden">
|
||
<!-- Verified Identity Banner (Placed ABOVE feedback as requested) -->
|
||
<div class="flex flex-col sm:flex-row sm:items-center justify-between gap-4 p-4 md:p-5 bg-gradient-to-r from-blue-50/80 via-slate-50 to-indigo-50/80 rounded-2xl border border-blue-100 shadow-sm mb-6">
|
||
<div class="flex items-center gap-4">
|
||
<img
|
||
id="v-user-photo"
|
||
src=""
|
||
alt="Google Profile"
|
||
class="w-14 h-14 rounded-full border-2 border-blue-500 shadow-sm object-cover bg-white"
|
||
/>
|
||
<div>
|
||
<div class="flex items-center gap-2 flex-wrap">
|
||
<h4 id="v-user-name" class="font-bold text-[#0a2342] text-lg">User Name</h4>
|
||
<span class="inline-flex items-center gap-1 text-[11px] font-semibold bg-emerald-100 text-emerald-800 px-2.5 py-0.5 rounded-full border border-emerald-200">
|
||
<i class="fas fa-check-circle text-emerald-600 text-[10px]"></i> Google Verified
|
||
</span>
|
||
</div>
|
||
<div class="flex items-center gap-1.5 text-xs text-blue-700 font-medium mt-1">
|
||
<svg class="w-3.5 h-3.5" viewBox="0 0 24 24">
|
||
<path fill="#4285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/>
|
||
<path fill="#34A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/>
|
||
<path fill="#FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l2.85-2.22.81-.63z"/>
|
||
<path fill="#EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z"/>
|
||
</svg>
|
||
<span id="v-user-email" class="bg-blue-100/60 px-2 py-0.5 rounded-md font-mono text-[11px]">email@gmail.com</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<button
|
||
onclick="googleLogout()"
|
||
class="text-xs text-slate-500 hover:text-red-600 font-semibold transition self-start sm:self-center flex items-center gap-1.5 px-3 py-1.5 rounded-lg hover:bg-red-50"
|
||
>
|
||
<i class="fas fa-sign-out-alt"></i> Sign Out
|
||
</button>
|
||
</div>
|
||
|
||
<!-- Feedback Submission Form (NO GMAIL INPUT ASKED!) -->
|
||
<form id="verified-feedback-form" onsubmit="handleFeedbackSubmit(event)" class="space-y-4">
|
||
<!-- Star Rating Selection -->
|
||
<div class="flex items-center gap-3">
|
||
<span class="text-sm font-semibold text-[#0a2342]">Your Rating:</span>
|
||
<div id="star-picker" class="flex items-center gap-1 text-2xl text-amber-400 cursor-pointer">
|
||
<i class="fas fa-star" data-rating="1" onclick="setFeedbackRating(1)"></i>
|
||
<i class="fas fa-star" data-rating="2" onclick="setFeedbackRating(2)"></i>
|
||
<i class="fas fa-star" data-rating="3" onclick="setFeedbackRating(3)"></i>
|
||
<i class="fas fa-star" data-rating="4" onclick="setFeedbackRating(4)"></i>
|
||
<i class="fas fa-star" data-rating="5" onclick="setFeedbackRating(5)"></i>
|
||
</div>
|
||
<span id="rating-label" class="text-xs font-semibold text-slate-500 ml-1">5.0 / 5.0 (Excellent)</span>
|
||
</div>
|
||
|
||
<!-- Role / Project Tag Picker -->
|
||
<div>
|
||
<label class="block text-xs font-semibold text-slate-600 uppercase tracking-wider mb-2">Category / Association</label>
|
||
<div class="flex flex-wrap gap-2" id="tag-picker">
|
||
<button type="button" onclick="selectFeedbackTag(this, 'Client / Business Partner')" class="tag-opt active px-3 py-1.5 rounded-lg text-xs font-semibold bg-blue-600 text-white transition">Client / Business Partner</button>
|
||
<button type="button" onclick="selectFeedbackTag(this, 'Open Source Collaborator')" class="tag-opt px-3 py-1.5 rounded-lg text-xs font-semibold bg-slate-100 text-slate-700 hover:bg-slate-200 transition">Open Source Collaborator</button>
|
||
<button type="button" onclick="selectFeedbackTag(this, 'Student / Developer')" class="tag-opt px-3 py-1.5 rounded-lg text-xs font-semibold bg-slate-100 text-slate-700 hover:bg-slate-200 transition">Student / Developer</button>
|
||
<button type="button" onclick="selectFeedbackTag(this, 'Tech Enthusiast')" class="tag-opt px-3 py-1.5 rounded-lg text-xs font-semibold bg-slate-100 text-slate-700 hover:bg-slate-200 transition">Tech Enthusiast</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Feedback Textarea -->
|
||
<div>
|
||
<label for="feedbackContent" class="block text-sm font-semibold text-[#0a2342] mb-1.5">
|
||
Your Feedback / Experience <span class="text-red-500">*</span>
|
||
</label>
|
||
<textarea
|
||
id="feedbackContent"
|
||
rows="3"
|
||
required
|
||
placeholder="Share your experience working with Aira Group, reviewing our code, or testing our systems..."
|
||
class="w-full px-4 py-3 rounded-xl border border-slate-300 focus:border-blue-600 focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-300 resize-none text-slate-800 text-sm"
|
||
></textarea>
|
||
</div>
|
||
|
||
<div class="flex items-center justify-between pt-2">
|
||
<span class="text-xs text-slate-400">
|
||
<i class="fas fa-shield-halved mr-1 text-blue-500"></i> Your review will be published instantly with your Google verified badge.
|
||
</span>
|
||
<button
|
||
type="submit"
|
||
id="submit-feedback-btn"
|
||
class="btn-primary text-white px-6 py-3 rounded-xl font-semibold text-sm flex items-center gap-2 shadow-lg shadow-blue-600/30 hover:shadow-xl transition"
|
||
>
|
||
<i class="fas fa-paper-plane text-xs"></i> Post Verified Review
|
||
</button>
|
||
</div>
|
||
</form>
|
||
|
||
<div id="feedback-success-banner" class="hidden mt-4 p-4 bg-emerald-50 border border-emerald-200 rounded-xl text-emerald-800 text-sm font-medium text-center animate-fade-in">
|
||
<i class="fas fa-check-circle mr-1.5 text-emerald-600"></i> Thank you! Your verified review has been posted successfully.
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Verified Reviews Display Grid -->
|
||
<div id="verified-reviews-grid" class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||
<!-- Populated dynamically via JS -->
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Careers & Collaborations 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 Sovereign Tech With Us
|
||
</h2>
|
||
<p class="text-lg text-slate-600">
|
||
We are looking for passionate builders, polytechnic & engineering students, and developers to join our sovereign engineering journey. Work directly alongside Founders Er. Adam Eehan and Anandha Krishnan.
|
||
</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-purple-50 text-purple-700 rounded-full text-xs font-semibold uppercase tracking-wider">
|
||
Open Source / Systems
|
||
</span>
|
||
<h3 class="text-2xl font-bold text-[#0a2342] mt-4 mb-2">
|
||
Systems & Kernel Contributor
|
||
</h3>
|
||
<p class="text-slate-600 mb-6 text-sm leading-relaxed">
|
||
Contribute to low-level systems including Airlys OS (x86_64 monolithic kernel), AiraLang compiler toolchains, and SDR cellular radio drivers. C, Assembly & Rust builders welcome.
|
||
</p>
|
||
</div>
|
||
<button
|
||
onclick="applyForJob('Systems & Kernel Contributor')"
|
||
class="text-blue-600 font-semibold hover:text-blue-800 inline-flex items-center group mt-auto self-start text-sm"
|
||
>
|
||
Collaborate With Us
|
||
<i class="fas fa-arrow-right ml-2 text-xs 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">
|
||
Remote / Contract
|
||
</span>
|
||
<h3 class="text-2xl font-bold text-[#0a2342] mt-4 mb-2">
|
||
Frontend & Flutter App Engineer
|
||
</h3>
|
||
<p class="text-slate-600 mb-6 text-sm leading-relaxed">
|
||
Build responsive client web platforms with Next.js & Tailwind CSS, and publish native cross-platform mobile applications on iOS & Android using Flutter.
|
||
</p>
|
||
</div>
|
||
<button
|
||
onclick="applyForJob('Frontend & Flutter App Engineer')"
|
||
class="text-blue-600 font-semibold hover:text-blue-800 inline-flex items-center group mt-auto self-start text-sm"
|
||
>
|
||
Apply for Role
|
||
<i class="fas fa-arrow-right ml-2 text-xs 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-emerald-50 text-emerald-700 rounded-full text-xs font-semibold uppercase tracking-wider">
|
||
Campus Fellowship
|
||
</span>
|
||
<h3 class="text-2xl font-bold text-[#0a2342] mt-4 mb-2">
|
||
Campus Tech Evangelist
|
||
</h3>
|
||
<p class="text-slate-600 mb-6 text-sm leading-relaxed">
|
||
Represent Aira Group of Technology in Polytechnic & Engineering colleges across Kerala. Organize tech meetups, hackathons, and demo sovereign AI systems on campus.
|
||
</p>
|
||
</div>
|
||
<button
|
||
onclick="applyForJob('Campus Tech Evangelist')"
|
||
class="text-blue-600 font-semibold hover:text-blue-800 inline-flex items-center group mt-auto self-start text-sm"
|
||
>
|
||
Join Fellowship
|
||
<i class="fas fa-arrow-right ml-2 text-xs 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 Engineering Query
|
||
</h3>
|
||
<p class="text-slate-600 mb-6 text-sm">
|
||
Have a unique deep-tech skill or want to collaborate on research with Aira Group? Send your GitHub, portfolio, or resume directly to Founder Er. Adam Eehan.
|
||
</p>
|
||
<button
|
||
onclick="applyForJob('Spontaneous Engineering Query')"
|
||
class="btn-primary text-white px-8 py-3 rounded-lg font-semibold inline-block text-sm"
|
||
>
|
||
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"
|
||
>Verified Feedback</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 Sovereign AI 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">Sovereign Endpoint • 24/7 Live</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>
|
||
|
||
<!-- Chat Interface (Direct Sovereign Access - Zero Login Barrier) -->
|
||
<div id="chat-interface" class="flex flex-col h-[420px] 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 with your project 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">
|
||
<span class="text-[10px] text-slate-400 font-mono flex items-center justify-center gap-1">
|
||
<i class="fas fa-shield-halved text-blue-500"></i> Powered by Aira Sovereign AI Engine
|
||
</span>
|
||
</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 (Connected to Aira Sovereign AI Endpoint) -->
|
||
<script>
|
||
const AIRA_CHAT_ENDPOINT = "https://airaai-8ibs.onrender.com/v1/chat/completions";
|
||
|
||
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");
|
||
if (!chatWindow.classList.contains("hidden")) {
|
||
setTimeout(() => chatInput && chatInput.focus(), 150);
|
||
}
|
||
});
|
||
closeChatBtn.addEventListener("click", () =>
|
||
chatWindow.classList.add("hidden"),
|
||
);
|
||
|
||
// Chat Message Rendering
|
||
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;
|
||
|
||
try {
|
||
const systemPrompt = `You are Aira, an intelligent sovereign AI assistant engineered by Er. Adam Eehan for Aira Group of Technology.
|
||
Answer concisely in warm, 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). Leadership: Er. Adam Eehan (Founder & CEO) and Anandha Krishnan (Co-Founder). Official Website: https://airaaigroup.in. 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 general programming scripts, politely decline. State that you are the official customer AI for Aira Group of Technology.`;
|
||
|
||
if (chatHistory.length === 0) {
|
||
chatHistory.push({ role: "system", content: systemPrompt });
|
||
}
|
||
chatHistory.push({ role: "user", content: msg });
|
||
|
||
// Keep history compact
|
||
if (chatHistory.length > 16) {
|
||
chatHistory = [chatHistory[0]].concat(chatHistory.slice(-14));
|
||
}
|
||
|
||
// Direct call to Aira Sovereign AI Endpoint
|
||
const response = await fetch(AIRA_CHAT_ENDPOINT, {
|
||
method: "POST",
|
||
headers: {
|
||
"Content-Type": "application/json"
|
||
},
|
||
body: JSON.stringify({
|
||
model: "aira-auto",
|
||
messages: chatHistory,
|
||
stream: false
|
||
})
|
||
});
|
||
|
||
if (!response.ok) {
|
||
throw new Error(`Endpoint response status: ${response.status}`);
|
||
}
|
||
|
||
const resData = await response.json();
|
||
let replyText = resData.choices?.[0]?.message?.content || "Hello! How can I assist you with Aira Group today?";
|
||
|
||
// 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);
|
||
}
|
||
replyText = replyText.replace(autofillRegex, "").trim();
|
||
}
|
||
|
||
// Save assistant response to history
|
||
chatHistory.push({ role: "assistant", content: replyText });
|
||
|
||
// Typewriter effect
|
||
messageBubble.innerText = "";
|
||
let displayedText = "";
|
||
for (let i = 0; i < replyText.length; i++) {
|
||
displayedText += replyText.charAt(i);
|
||
messageBubble.innerHTML = displayedText
|
||
.replace(/\*\*(.*?)\*\*/g, "<strong>$1</strong>")
|
||
.replace(/\n/g, "<br>");
|
||
chatMessages.scrollTop = chatMessages.scrollHeight;
|
||
await new Promise((r) => setTimeout(r, 12));
|
||
}
|
||
|
||
// Trigger autofill if tag present
|
||
if (autofillData) {
|
||
autofillContactForm(autofillData);
|
||
}
|
||
} catch (error) {
|
||
console.error("Chat error:", error);
|
||
messageBubble.innerText = "Network issue connecting to Aira Endpoint. 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; }
|
||
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 (Aira Sovereign AI Shell) -->
|
||
<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 Sovereign Shell v3.6</div>
|
||
<div class="term-user-badge" id="term-user-badge">aira-sovereign</div>
|
||
</div>
|
||
|
||
<!-- Terminal Output -->
|
||
<div class="term-output" id="term-output"></div>
|
||
|
||
<!-- Input -->
|
||
<div class="term-input-row" id="term-input-row">
|
||
<span class="term-prompt-label">aira $</span>
|
||
<input id="term-input" type="text" placeholder="type a command..." autocomplete="off" spellcheck="false" />
|
||
</div>
|
||
</div>
|
||
|
||
<script>
|
||
(function() {
|
||
let termOpen = false;
|
||
let cmdHistory = [];
|
||
let historyIndex = -1;
|
||
let activeModel = "aira-auto";
|
||
const AIRA_BASE_URL = "https://airaai-8ibs.onrender.com/v1";
|
||
|
||
window.toggleTerminal = function() {
|
||
termOpen = !termOpen;
|
||
const el = document.getElementById('aira-terminal');
|
||
el.classList.toggle('open', termOpen);
|
||
if (termOpen) {
|
||
const out = document.getElementById('term-output');
|
||
if (out.innerHTML === '') {
|
||
printBanner();
|
||
}
|
||
const savedUser = localStorage.getItem("aira_google_user");
|
||
if (savedUser) {
|
||
try {
|
||
const u = JSON.parse(savedUser);
|
||
document.getElementById('term-user-badge').textContent = u.name.toLowerCase().replace(/\s+/g, '_');
|
||
} catch(e) {}
|
||
}
|
||
setTimeout(() => {
|
||
const inp = document.getElementById('term-input');
|
||
if (inp) inp.focus();
|
||
}, 100);
|
||
}
|
||
};
|
||
|
||
window.closeTerminal = function() {
|
||
termOpen = false;
|
||
document.getElementById('aira-terminal').classList.remove('open');
|
||
};
|
||
|
||
function printBanner() {
|
||
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 font-bold">AIRA SOVEREIGN SHELL v3.6</span>`);
|
||
print(`<span class="t-muted">Engineered by Er. Adam Eehan • Aira Group of Technology</span>`);
|
||
print(`<span class="t-muted">Endpoint: <span class="t-yellow">${AIRA_BASE_URL}</span></span>`);
|
||
print(`<span class="t-muted">Active Model: <span class="t-green">${activeModel}</span></span>`);
|
||
print(`<span class="t-muted">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
|
||
print(`<span class="t-green">✓ System Online.</span> Type <span class="t-white font-bold">help</span> to view commands.`);
|
||
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 'ask':
|
||
case 'chat': await cmdChat(args.join(' ')); break;
|
||
case 'models': await cmdModels(); break;
|
||
case 'model': cmdSetModel(args[0]); break;
|
||
case 'status': await cmdStatus(); break;
|
||
case 'whoami': cmdWhoami(); break;
|
||
case 'founder':
|
||
case 'about': cmdFounder(); break;
|
||
case 'api': cmdApi(); break;
|
||
case 'clear': document.getElementById('term-output').innerHTML = ''; break;
|
||
default:
|
||
await cmdChat(raw);
|
||
}
|
||
print('');
|
||
}
|
||
|
||
function cmdHelp() {
|
||
print(`<span class="t-yellow font-bold">━━ Aira Sovereign Shell Commands ━━━━━━━━━━━━</span>`);
|
||
const cmds = [
|
||
['ask [prompt]', 'Query Aira Sovereign AI model directly'],
|
||
['models', 'List all models available on Aira Endpoint'],
|
||
['model [id]', 'Switch active model (e.g. aira-sec, aira-core)'],
|
||
['status', 'Ping Aira AI Live Endpoint & measure latency'],
|
||
['founder / about', 'Display founder & Aira Group architecture'],
|
||
['whoami', 'Show your active session info'],
|
||
['api', 'Display OpenAI-compatible developer integration'],
|
||
['clear', 'Clear terminal screen']
|
||
];
|
||
cmds.forEach(([c, d]) => {
|
||
print(` <span class="t-cyan">${c.padEnd(20)}</span><span class="t-muted">${d}</span>`);
|
||
});
|
||
}
|
||
|
||
async function cmdChat(prompt) {
|
||
if (!prompt) {
|
||
printLine('Usage: ask [your question]', 't-yellow');
|
||
return;
|
||
}
|
||
printLine(`Connecting to Aira Endpoint [${activeModel}]...`, 't-muted');
|
||
try {
|
||
const res = await fetch(`${AIRA_BASE_URL}/chat/completions`, {
|
||
method: "POST",
|
||
headers: { "Content-Type": "application/json" },
|
||
body: JSON.stringify({
|
||
model: activeModel,
|
||
messages: [{ role: "user", content: prompt }],
|
||
stream: false
|
||
})
|
||
});
|
||
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
||
const data = await res.json();
|
||
const text = data.choices?.[0]?.message?.content || "No response received.";
|
||
print(`<span class="t-green font-bold">Aira:</span>`);
|
||
text.split('\n').forEach(line => {
|
||
print(` <span class="t-white">${line || ' '}</span>`);
|
||
});
|
||
} catch(err) {
|
||
printLine(`Error connecting to Aira Endpoint: ${err.message}`, 't-red');
|
||
}
|
||
}
|
||
|
||
async function cmdModels() {
|
||
printLine('Fetching live models from Aira Gateway...', 't-muted');
|
||
try {
|
||
const res = await fetch(`${AIRA_BASE_URL}/models`);
|
||
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
||
const data = await res.json();
|
||
print(`<span class="t-green font-bold">Available Sovereign Models (${data.data.length}):</span>`);
|
||
data.data.forEach(m => {
|
||
const activeTag = m.id === activeModel ? ' <span class="t-yellow font-bold">[ACTIVE]</span>' : '';
|
||
print(` • <span class="t-cyan font-semibold">${m.id}</span>${activeTag} <span class="t-muted">(owned_by: ${m.owned_by})</span>`);
|
||
});
|
||
print(`<span class="t-muted">Switch model using: <span class="t-white">model [model_id]</span></span>`);
|
||
} catch(err) {
|
||
printLine(`Failed to fetch models: ${err.message}`, 't-red');
|
||
}
|
||
}
|
||
|
||
function cmdSetModel(name) {
|
||
if (!name) {
|
||
printLine(`Active model: ${activeModel}`, 't-yellow');
|
||
printLine('Usage: model [model_id]', 't-muted');
|
||
return;
|
||
}
|
||
activeModel = name;
|
||
printLine(`✓ Switched active model to: ${activeModel}`, 't-green');
|
||
}
|
||
|
||
async function cmdStatus() {
|
||
printLine(`Pinging ${AIRA_BASE_URL}/models...`, 't-muted');
|
||
const start = performance.now();
|
||
try {
|
||
const res = await fetch(`${AIRA_BASE_URL}/models`);
|
||
const duration = Math.round(performance.now() - start);
|
||
if (res.ok) {
|
||
printLine(`✓ Aira Sovereign Endpoint: ONLINE`, 't-green');
|
||
printLine(` • Status Code: ${res.status} OK`, 't-white');
|
||
printLine(` • Roundtrip Latency: ${duration} ms`, 't-yellow');
|
||
printLine(` • Provider: Aira Group of Technology`, 't-cyan');
|
||
} else {
|
||
printLine(`Endpoint responded with status ${res.status}`, 't-red');
|
||
}
|
||
} catch(err) {
|
||
printLine(`Endpoint unreachable: ${err.message}`, 't-red');
|
||
}
|
||
}
|
||
|
||
function cmdWhoami() {
|
||
const savedUser = localStorage.getItem("aira_google_user");
|
||
if (savedUser) {
|
||
try {
|
||
const u = JSON.parse(savedUser);
|
||
print(`<span class="t-green">Identity:</span> <span class="t-yellow">${u.name} (Google Verified)</span>`);
|
||
print(`<span class="t-green">Email:</span> <span class="t-white">${u.email}</span>`);
|
||
return;
|
||
} catch(e) {}
|
||
}
|
||
printLine('Identity: Guest Visitor (Sovereign Session)', 't-cyan');
|
||
printLine('To verify identity, sign in with Google in the Verified Feedback section.', 't-muted');
|
||
}
|
||
|
||
function cmdFounder() {
|
||
print(`<span class="t-cyan font-bold">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
|
||
print(`<span class="t-yellow font-bold">Er. Adam Eehan</span> <span class="t-white">• Founder, CEO & Chief Systems Architect</span>`);
|
||
print(`<span class="t-yellow font-bold">Anandha Krishnan</span> <span class="t-white">• Co-Founder & Executive Director</span>`);
|
||
print(`<span class="t-muted">Aira Group of Technology • Technopark, Trivandrum</span>`);
|
||
print(`<span class="t-muted">Wikidata: <span class="t-white">Q141755677</span> | Official: <span class="t-cyan">https://airaaigroup.in</span></span>`);
|
||
print(`<span class="t-muted">Email: adameehan34@gmail.com | Phone: +91 8921 584 368</span>`);
|
||
print(`<span class="t-cyan font-bold">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
|
||
}
|
||
|
||
function cmdApi() {
|
||
print(`<span class="t-yellow font-bold">━━ Aira Sovereign AI Gateway ━━━━━━━━━━━━━━━━━</span>`);
|
||
printLine('OpenAI Drop-In Compatible API for Developers worldwide.');
|
||
print(` <span class="t-cyan">Base URL:</span> <span class="t-white">${AIRA_BASE_URL}</span>`);
|
||
print(` <span class="t-cyan">Chat URL:</span> <span class="t-white">${AIRA_BASE_URL}/chat/completions</span>`);
|
||
print('');
|
||
printLine('Python Example:', 't-muted');
|
||
print(`<pre class="t-green" style="margin: 0; line-height: 1.3;">from openai import OpenAI
|
||
client = OpenAI(base_url="${AIRA_BASE_URL}", api_key="aira-free")
|
||
response = client.chat.completions.create(
|
||
model="aira-auto",
|
||
messages=[{"role": "user", "content": "Hello!"}]
|
||
)</pre>`);
|
||
print(`<span class="t-muted">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span>`);
|
||
}
|
||
})();
|
||
</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>
|
||
|
||
<!-- Google Auth & Verified Reviews System Script -->
|
||
<script>
|
||
// Sovereign Google OAuth & JSONBin.io Database Integration
|
||
const GOOGLE_CLIENT_ID = "267802159841-leun1b8b85ongsoc5pkjhufe4s5jbjj8.apps.googleusercontent.com";
|
||
|
||
// JSONBin Database Config (Boss will provide Bin ID & Access Key)
|
||
const JSONBIN_CONFIG = {
|
||
binId: "6ae98e5dffd5d16053a19fc4",
|
||
apiKey: "$2a$10$0IoWYIJUtPPsZ9Y9fED.megYee63XlKIFxzn.cGXYPVu.TMqC.SKi",
|
||
accessKey: "$2a$10$jf/M7s48/qgR31ZlqFqg8.vGifgPuuFNzEfGzl2NTGjXo7pv2RHEC"
|
||
};
|
||
|
||
let currentUser = null;
|
||
let currentRating = 5;
|
||
let currentTag = "Client / Business Partner";
|
||
let liveReviews = [];
|
||
|
||
// Initialize on load
|
||
function initReviewsSystem() {
|
||
// 1. Check logged-in user
|
||
const savedUser = localStorage.getItem("aira_google_user");
|
||
if (savedUser) {
|
||
try {
|
||
currentUser = JSON.parse(savedUser);
|
||
} catch(e) {
|
||
localStorage.removeItem("aira_google_user");
|
||
}
|
||
}
|
||
renderUserAuthUI();
|
||
|
||
// 2. Initialize Google Identity Services (GSI)
|
||
initGoogleIdentity();
|
||
|
||
// 3. Fetch reviews from JSONBin or LocalStorage (Zero fake reviews)
|
||
loadReviews();
|
||
}
|
||
|
||
let tokenClient = null;
|
||
|
||
// Handle real Google JWT Credential Response
|
||
window.handleGoogleCredentialResponse = function(response) {
|
||
console.log("Google Credential Response received:", response);
|
||
try {
|
||
if (!response || !response.credential) {
|
||
console.error("No credential in response", response);
|
||
return;
|
||
}
|
||
// Decode standard JWT
|
||
const base64Url = response.credential.split('.')[1];
|
||
const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
|
||
const jsonPayload = decodeURIComponent(atob(base64).split('').map(function(c) {
|
||
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
|
||
}).join(''));
|
||
const payload = JSON.parse(jsonPayload);
|
||
|
||
currentUser = {
|
||
name: payload.name || "Google User",
|
||
email: payload.email,
|
||
picture: payload.picture || `https://api.dicebear.com/7.x/initials/svg?seed=${encodeURIComponent(payload.name || "User")}`
|
||
};
|
||
|
||
localStorage.setItem("aira_google_user", JSON.stringify(currentUser));
|
||
renderUserAuthUI();
|
||
} catch(err) {
|
||
console.error("Failed to decode Google token:", err);
|
||
alert("Google sign-in completed, but failed to parse profile. Please try again.");
|
||
}
|
||
};
|
||
|
||
// Initialize Google Identity Services & OAuth 2.0 Token Client
|
||
function initGoogleIdentity() {
|
||
if (window.google && google.accounts) {
|
||
try {
|
||
// 1. Initialize Google Identity Services Credential API
|
||
if (google.accounts.id) {
|
||
google.accounts.id.initialize({
|
||
client_id: GOOGLE_CLIENT_ID,
|
||
callback: window.handleGoogleCredentialResponse,
|
||
auto_select: false,
|
||
cancel_on_tap_outside: true,
|
||
itp_support: true
|
||
});
|
||
|
||
const btnContainer = document.getElementById("gsi-btn-container");
|
||
if (btnContainer) {
|
||
btnContainer.innerHTML = "";
|
||
google.accounts.id.renderButton(btnContainer, {
|
||
theme: "outline",
|
||
size: "large",
|
||
type: "standard",
|
||
shape: "pill",
|
||
text: "signin_with",
|
||
logo_alignment: "left",
|
||
width: 280
|
||
});
|
||
}
|
||
}
|
||
|
||
// 2. Initialize OAuth 2.0 Token Client (Direct Account Picker - bypasses FedCM/white-screen)
|
||
if (google.accounts.oauth2) {
|
||
tokenClient = google.accounts.oauth2.initTokenClient({
|
||
client_id: GOOGLE_CLIENT_ID,
|
||
scope: 'email profile openid',
|
||
callback: async (tokenResponse) => {
|
||
if (tokenResponse && tokenResponse.access_token) {
|
||
try {
|
||
const res = await fetch("https://www.googleapis.com/oauth2/v3/userinfo", {
|
||
headers: { Authorization: `Bearer ${tokenResponse.access_token}` }
|
||
});
|
||
if (res.ok) {
|
||
const profile = await res.json();
|
||
currentUser = {
|
||
name: profile.name || "Google User",
|
||
email: profile.email,
|
||
picture: profile.picture || `https://api.dicebear.com/7.x/initials/svg?seed=${encodeURIComponent(profile.name || "User")}`
|
||
};
|
||
localStorage.setItem("aira_google_user", JSON.stringify(currentUser));
|
||
renderUserAuthUI();
|
||
}
|
||
} catch(err) {
|
||
console.error("UserInfo fetch error:", err);
|
||
}
|
||
}
|
||
}
|
||
});
|
||
}
|
||
} catch(e) {
|
||
console.log("GSI init note:", e);
|
||
}
|
||
} else {
|
||
setTimeout(initGoogleIdentity, 300);
|
||
}
|
||
}
|
||
|
||
window.triggerGoogleOAuth = function() {
|
||
if (tokenClient) {
|
||
tokenClient.requestAccessToken({ prompt: 'select_account' });
|
||
} else if (window.google && google.accounts && google.accounts.id) {
|
||
google.accounts.id.prompt();
|
||
} else {
|
||
alert("Google Services loading... please wait a moment and try again.");
|
||
}
|
||
};
|
||
|
||
function renderUserAuthUI() {
|
||
const loggedOutBox = document.getElementById("google-feedback-loggedout");
|
||
const loggedInBox = document.getElementById("google-feedback-loggedin");
|
||
|
||
if (!currentUser) {
|
||
if (loggedOutBox) loggedOutBox.classList.remove("hidden");
|
||
if (loggedInBox) loggedInBox.classList.add("hidden");
|
||
} else {
|
||
if (loggedOutBox) loggedOutBox.classList.add("hidden");
|
||
if (loggedInBox) loggedInBox.classList.remove("hidden");
|
||
|
||
const photoEl = document.getElementById("v-user-photo");
|
||
const nameEl = document.getElementById("v-user-name");
|
||
const emailEl = document.getElementById("v-user-email");
|
||
|
||
if (photoEl) photoEl.src = currentUser.picture;
|
||
if (nameEl) nameEl.textContent = currentUser.name;
|
||
if (emailEl) emailEl.textContent = currentUser.email;
|
||
}
|
||
}
|
||
|
||
function scrollToGoogleAuth() {
|
||
const el = document.getElementById("google-feedback-loggedout");
|
||
if (el) {
|
||
el.scrollIntoView({ behavior: "smooth", block: "center" });
|
||
}
|
||
if (window.google && google.accounts && google.accounts.id) {
|
||
google.accounts.id.prompt();
|
||
}
|
||
}
|
||
|
||
function googleLogout() {
|
||
currentUser = null;
|
||
localStorage.removeItem("aira_google_user");
|
||
if (window.google && google.accounts && google.accounts.id) {
|
||
google.accounts.id.disableAutoSelect();
|
||
}
|
||
renderUserAuthUI();
|
||
}
|
||
|
||
function setFeedbackRating(stars) {
|
||
currentRating = stars;
|
||
const starIcons = document.querySelectorAll("#star-picker i");
|
||
starIcons.forEach((star, index) => {
|
||
if (index < stars) {
|
||
star.className = "fas fa-star text-amber-400";
|
||
} else {
|
||
star.className = "far fa-star text-slate-300";
|
||
}
|
||
});
|
||
|
||
const ratingLabel = document.getElementById("rating-label");
|
||
const labels = {
|
||
1: "1.0 / 5.0 (Poor)",
|
||
2: "2.0 / 5.0 (Fair)",
|
||
3: "3.0 / 5.0 (Good)",
|
||
4: "4.0 / 5.0 (Very Good)",
|
||
5: "5.0 / 5.0 (Excellent)"
|
||
};
|
||
if (ratingLabel) ratingLabel.textContent = labels[stars] || `${stars}.0 / 5.0`;
|
||
}
|
||
|
||
function selectFeedbackTag(btn, tag) {
|
||
currentTag = tag;
|
||
document.querySelectorAll("#tag-picker .tag-opt").forEach(b => {
|
||
b.className = "tag-opt px-3 py-1.5 rounded-lg text-xs font-semibold bg-slate-100 text-slate-700 hover:bg-slate-200 transition";
|
||
});
|
||
btn.className = "tag-opt active px-3 py-1.5 rounded-lg text-xs font-semibold bg-blue-600 text-white transition";
|
||
}
|
||
|
||
// Fetch Reviews: JSONBin.io with LocalStorage fallback (Zero Fake Reviews)
|
||
async function loadReviews() {
|
||
const container = document.getElementById("verified-reviews-grid");
|
||
if (!container) return;
|
||
|
||
// 1. Try to load from JSONBin if binId is configured
|
||
if (JSONBIN_CONFIG.binId && JSONBIN_CONFIG.binId.length > 5) {
|
||
try {
|
||
const headers = { "Content-Type": "application/json" };
|
||
if (JSONBIN_CONFIG.apiKey) {
|
||
headers["X-Master-Key"] = JSONBIN_CONFIG.apiKey;
|
||
}
|
||
const res = await fetch(`https://api.jsonbin.io/v3/b/${JSONBIN_CONFIG.binId}/latest`, { headers });
|
||
if (res.ok) {
|
||
const data = await res.json();
|
||
if (data && data.record && Array.isArray(data.record.feedbacks)) {
|
||
liveReviews = data.record.feedbacks;
|
||
localStorage.setItem("aira_verified_reviews", JSON.stringify(liveReviews));
|
||
renderReviewsList();
|
||
return;
|
||
}
|
||
}
|
||
} catch(err) {
|
||
console.log("JSONBin fetch fallback to local:", err);
|
||
}
|
||
}
|
||
|
||
// 2. Fallback to LocalStorage
|
||
const local = localStorage.getItem("aira_verified_reviews");
|
||
if (local) {
|
||
try {
|
||
liveReviews = JSON.parse(local);
|
||
} catch(e) {
|
||
liveReviews = [];
|
||
}
|
||
} else {
|
||
liveReviews = []; // Zero fake reviews!
|
||
}
|
||
|
||
renderReviewsList();
|
||
}
|
||
|
||
// Submit Verified Review
|
||
async function handleFeedbackSubmit(e) {
|
||
e.preventDefault();
|
||
if (!currentUser) {
|
||
startGoogleAuth();
|
||
return;
|
||
}
|
||
|
||
const feedbackTextEl = document.getElementById("feedbackContent");
|
||
const text = feedbackTextEl.value.trim();
|
||
if (!text) return;
|
||
|
||
const submitBtn = document.getElementById("submit-feedback-btn");
|
||
const originalBtnHtml = submitBtn.innerHTML;
|
||
submitBtn.disabled = true;
|
||
submitBtn.innerHTML = `<i class="fas fa-spinner fa-spin text-xs"></i> Posting...`;
|
||
|
||
const newReview = {
|
||
id: "rev_" + Date.now(),
|
||
name: currentUser.name,
|
||
email: currentUser.email,
|
||
photo: currentUser.picture,
|
||
rating: currentRating,
|
||
tag: currentTag,
|
||
text: text,
|
||
date: new Date().toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" })
|
||
};
|
||
|
||
// 1. Save to JSONBin with latest sync
|
||
const authKey = JSONBIN_CONFIG.apiKey || JSONBIN_CONFIG.accessKey;
|
||
if (JSONBIN_CONFIG.binId && authKey) {
|
||
try {
|
||
let latestFeedbacks = [];
|
||
try {
|
||
const fetchRes = await fetch(`https://api.jsonbin.io/v3/b/${JSONBIN_CONFIG.binId}/latest`, {
|
||
headers: { "X-Master-Key": authKey }
|
||
});
|
||
if (fetchRes.ok) {
|
||
const data = await fetchRes.json();
|
||
if (data && data.record && Array.isArray(data.record.feedbacks)) {
|
||
latestFeedbacks = data.record.feedbacks;
|
||
}
|
||
}
|
||
} catch(fetchErr) {
|
||
latestFeedbacks = [...liveReviews];
|
||
}
|
||
|
||
latestFeedbacks.unshift(newReview);
|
||
liveReviews = latestFeedbacks;
|
||
|
||
await fetch(`https://api.jsonbin.io/v3/b/${JSONBIN_CONFIG.binId}`, {
|
||
method: "PUT",
|
||
headers: {
|
||
"Content-Type": "application/json",
|
||
"X-Master-Key": authKey
|
||
},
|
||
body: JSON.stringify({ feedbacks: liveReviews })
|
||
});
|
||
} catch(err) {
|
||
console.error("JSONBin save error:", err);
|
||
if (!liveReviews.find(r => r.id === newReview.id)) {
|
||
liveReviews.unshift(newReview);
|
||
}
|
||
}
|
||
} else {
|
||
liveReviews.unshift(newReview);
|
||
}
|
||
|
||
localStorage.setItem("aira_verified_reviews", JSON.stringify(liveReviews));
|
||
renderReviewsList();
|
||
|
||
// 2. Email alert to Er. Adam Eehan via FormSubmit
|
||
try {
|
||
fetch("https://formsubmit.co/ajax/adameehan34@gmail.com", {
|
||
method: "POST",
|
||
headers: { "Content-Type": "application/json", "Accept": "application/json" },
|
||
body: JSON.stringify({
|
||
_subject: `🌟 New Real Feedback from ${currentUser.name} (${currentRating} Stars)`,
|
||
Name: currentUser.name,
|
||
Gmail: currentUser.email,
|
||
Rating: `${currentRating} / 5 Stars`,
|
||
Category: currentTag,
|
||
Feedback: text
|
||
})
|
||
}).catch(() => {});
|
||
} catch(err) {}
|
||
|
||
submitBtn.disabled = false;
|
||
submitBtn.innerHTML = originalBtnHtml;
|
||
feedbackTextEl.value = "";
|
||
|
||
const successBanner = document.getElementById("feedback-success-banner");
|
||
if (successBanner) {
|
||
successBanner.classList.remove("hidden");
|
||
setTimeout(() => successBanner.classList.add("hidden"), 6000);
|
||
}
|
||
}
|
||
|
||
// Render Verified Reviews List (Displays Empty State if no reviews exist!)
|
||
function renderReviewsList() {
|
||
const container = document.getElementById("verified-reviews-grid");
|
||
if (!container) return;
|
||
|
||
container.innerHTML = "";
|
||
|
||
// EMPTY STATE: If no feedback exists, show authentic empty state!
|
||
if (!liveReviews || liveReviews.length === 0) {
|
||
container.innerHTML = `
|
||
<div class="col-span-full py-16 px-6 text-center bg-white rounded-3xl border border-dashed border-slate-300 shadow-sm max-w-xl mx-auto animate-fade-in">
|
||
<div class="w-16 h-16 mx-auto mb-4 rounded-2xl bg-blue-50 border border-blue-100 flex items-center justify-center text-blue-600 text-2xl shadow-inner">
|
||
<i class="far fa-comments"></i>
|
||
</div>
|
||
<h4 class="font-bold text-slate-800 text-lg mb-1">No Feedback Yet</h4>
|
||
<p class="text-slate-500 text-sm max-w-sm mx-auto mb-6 leading-relaxed">
|
||
Be the first client, collaborator, or builder to sign in with Google and share your experience with Aira Group!
|
||
</p>
|
||
<button onclick="scrollToGoogleAuth()" class="btn-primary text-white text-xs font-semibold px-6 py-3 rounded-xl shadow-md inline-flex items-center gap-2 hover:scale-105 transition-all">
|
||
<i class="fab fa-google"></i> Leave the First Verified Review
|
||
</button>
|
||
</div>
|
||
`;
|
||
return;
|
||
}
|
||
|
||
// Render real reviews
|
||
liveReviews.forEach(r => {
|
||
let starsHtml = "";
|
||
for (let i = 1; i <= 5; i++) {
|
||
starsHtml += i <= r.rating
|
||
? '<i class="fas fa-star text-amber-400 text-xs"></i>'
|
||
: '<i class="far fa-star text-slate-300 text-xs"></i>';
|
||
}
|
||
|
||
const card = document.createElement("div");
|
||
card.className = "bg-white p-7 rounded-2xl border border-slate-200/80 shadow-md hover:shadow-xl transition-all duration-300 flex flex-col justify-between card-hover";
|
||
card.innerHTML = `
|
||
<div>
|
||
<div class="flex items-start justify-between gap-3 mb-4">
|
||
<div class="flex items-center gap-3">
|
||
<img src="${r.photo}" alt="${r.name}" class="w-12 h-12 rounded-full border-2 border-blue-500/80 shadow-sm object-cover bg-white flex-shrink-0" onerror="this.src='https://api.dicebear.com/7.x/initials/svg?seed=${encodeURIComponent(r.name)}'" />
|
||
<div>
|
||
<div class="flex items-center gap-1.5 flex-wrap">
|
||
<span class="font-bold text-[#0a2342] text-sm">${r.name}</span>
|
||
<span class="inline-flex items-center gap-1 text-[10px] font-semibold bg-emerald-50 text-emerald-700 px-2 py-0.5 rounded-full border border-emerald-200">
|
||
<i class="fas fa-check-circle text-emerald-600 text-[9px]"></i> Verified
|
||
</span>
|
||
</div>
|
||
<div class="text-[11px] text-slate-500 flex items-center gap-1 mt-0.5 font-mono">
|
||
<i class="fab fa-google text-slate-400 text-[10px]"></i>
|
||
<span class="truncate max-w-[170px]">${r.email}</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<span class="text-[11px] font-semibold text-blue-600 bg-blue-50 border border-blue-100 px-2 py-0.5 rounded-md flex-shrink-0">${r.tag || "Feedback"}</span>
|
||
</div>
|
||
|
||
<div class="flex items-center gap-1 mb-3">
|
||
${starsHtml}
|
||
<span class="text-xs font-semibold text-slate-600 ml-1.5">${r.rating}.0</span>
|
||
</div>
|
||
|
||
<p class="text-slate-600 text-sm leading-relaxed mb-4 italic">
|
||
"${r.text}"
|
||
</p>
|
||
</div>
|
||
|
||
<div class="pt-3 border-t border-slate-100 flex items-center justify-between text-xs text-slate-400">
|
||
<span class="flex items-center gap-1"><i class="fas fa-calendar-check text-[10px] text-blue-400"></i> Google Verified Review</span>
|
||
<span>${r.date || "Recent"}</span>
|
||
</div>
|
||
`;
|
||
container.appendChild(card);
|
||
});
|
||
}
|
||
|
||
// Initialize on DOM ready
|
||
if (document.readyState === "loading") {
|
||
document.addEventListener("DOMContentLoaded", initReviewsSystem);
|
||
} else {
|
||
initReviewsSystem();
|
||
}
|
||
</script>
|
||
|
||
</body>
|
||
</html>
|