arshia-a1's picture
Build a highly advanced, modern, and content-rich multilingual website for a programming and AI innovation group called “SuperNova”.
a8624fc verified
class CustomServices extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.service-card {
background: rgba(30, 41, 59, 0.7);
border-radius: 16px;
padding: 2rem;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.service-card::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #4f46e5, #ec4899);
z-index: -1;
border-radius: 18px;
opacity: 0;
transition: opacity 0.3s ease;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.service-card:hover::before {
opacity: 1;
}
.service-icon {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
border-radius: 12px;
background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(236, 72, 153, 0.2));
}
.service-icon i {
color: #ec4899;
width: 28px;
height: 28px;
}
.service-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
color: white;
}
.service-desc {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 1.5rem;
line-height: 1.6;
}
.service-link {
display: flex;
align-items: center;
color: #4f46e5;
font-weight: 500;
text-decoration: none;
transition: color 0.3s ease;
}
.service-link:hover {
color: #ec4899;
}
.service-link i {
margin-left: 0.5rem;
width: 16px;
height: 16px;
}
</style>
<div class="services-grid">
<div class="service-card animate-on-scroll">
<div class="service-icon">
<i data-feather="globe"></i>
</div>
<h3 class="service-title">Web Development</h3>
<p class="service-desc">Building high-performance, scalable web applications with modern technologies like React, Next.js, and Node.js.</p>
<a href="#" class="service-link">
Learn more
<i data-feather="arrow-right"></i>
</a>
</div>
<div class="service-card animate-on-scroll">
<div class="service-icon">
<i data-feather="smartphone"></i>
</div>
<h3 class="service-title">Mobile Development</h3>
<p class="service-desc">Creating beautiful, native-feeling mobile apps for iOS and Android using React Native and Flutter.</p>
<a href="#" class="service-link">
Learn more
<i data-feather="arrow-right"></i>
</a>
</div>
<div class="service-card animate-on-scroll">
<div class="service-icon">
<i data-feather="cpu"></i>
</div>
<h3 class="service-title">AI Solutions</h3>
<p class="service-desc">Leveraging machine learning and artificial intelligence to solve complex business problems and automate processes.</p>
<a href="#" class="service-link">
Learn more
<i data-feather="arrow-right"></i>
</a>
</div>
<div class="service-card animate-on-scroll">
<div class="service-icon">
<i data-feather="cloud"></i>
</div>
<h3 class="service-title">Cloud Architecture</h3>
<p class="service-desc">Designing and implementing scalable cloud infrastructure on AWS, Google Cloud, and Azure platforms.</p>
<a href="#" class="service-link">
Learn more
<i data-feather="arrow-right"></i>
</a>
</div>
<div class="service-card animate-on-scroll">
<div class="service-icon">
<i data-feather="lock"></i>
</div>
<h3 class="service-title">Cybersecurity</h3>
<p class="service-desc">Protecting your digital assets with comprehensive security assessments, penetration testing, and robust security solutions.</p>
<a href="#" class="service-link">
Learn more
<i data-feather="arrow-right"></i>
</a>
</div>
<div class="service-card animate-on-scroll">
<div class="service-icon">
<i data-feather="bar-chart-2"></i>
</div>
<h3 class="service-title">Data Analytics</h3>
<p class="service-desc">Transforming raw data into actionable insights with powerful analytics tools and custom dashboard solutions.</p>
<a href="#" class="service-link">
Learn more
<i data-feather="arrow-right"></i>
</a>
</div>
</div>
`;
}
}
customElements.define('custom-services', CustomServices);