| class CustomServices extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| padding: 6rem 0; | |
| background-color: white; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| .header { | |
| text-align: center; | |
| margin-bottom: 4rem; | |
| } | |
| .section-title { | |
| font-size: 2.25rem; | |
| font-weight: 700; | |
| color: #1f2937; | |
| margin-bottom: 1rem; | |
| } | |
| .section-subtitle { | |
| color: #6b7280; | |
| max-width: 600px; | |
| margin: 0 auto; | |
| } | |
| .services-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .service-card { | |
| background-color: #f9fafb; | |
| border-radius: 0.5rem; | |
| padding: 2rem; | |
| transition: transform 0.3s, box-shadow 0.3s; | |
| } | |
| .service-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| .service-icon { | |
| width: 3rem; | |
| height: 3rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background-color: var(--primary-light); | |
| color: white; | |
| border-radius: 0.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .service-title { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| color: #1f2937; | |
| } | |
| .service-description { | |
| color: #6b7280; | |
| line-height: 1.6; | |
| } | |
| </style> | |
| <div class="container" id="services"> | |
| <div class="header observe-me"> | |
| <h2 class="section-title">Our <span class="gradient-text">Services</span></h2> | |
| <p class="section-subtitle">We offer a comprehensive suite of digital services to help your business thrive online.</p> | |
| </div> | |
| <div class="services-grid"> | |
| <div class="service-card observe-me delay-100"> | |
| <div class="service-icon"> | |
| <i data-feather="layout"></i> | |
| </div> | |
| <h3 class="service-title">Web Design</h3> | |
| <p class="service-description">Beautiful, responsive websites tailored to your brand and audience with modern design principles.</p> | |
| </div> | |
| <div class="service-card observe-me delay-200"> | |
| <div class="service-icon"> | |
| <i data-feather="code"></i> | |
| </div> | |
| <h3 class="service-title">Web Development</h3> | |
| <p class="service-description">Custom web applications built with the latest technologies for performance and scalability.</p> | |
| </div> | |
| <div class="service-card observe-me delay-300"> | |
| <div class="service-icon"> | |
| <i data-feather="smartphone"></i> | |
| </div> | |
| <h3 class="service-title">Mobile Apps</h3> | |
| <p class="service-description">Cross-platform mobile applications that deliver seamless user experiences on any device.</p> | |
| </div> | |
| <div class="service-card observe-me delay-100"> | |
| <div class="service-icon"> | |
| <i data-feather="shopping-cart"></i> | |
| </div> | |
| <h3 class="service-title">E-commerce</h3> | |
| <p class="service-description">Complete online store solutions with secure payment processing and inventory management.</p> | |
| </div> | |
| <div class="service-card observe-me delay-200"> | |
| <div class="service-icon"> | |
| <i data-feather="search"></i> | |
| </div> | |
| <h3 class="service-title">SEO Optimization</h3> | |
| <p class="service-description">Improve your search rankings and drive organic traffic with our proven SEO strategies.</p> | |
| </div> | |
| <div class="service-card observe-me delay-300"> | |
| <div class="service-icon"> | |
| <i data-feather="bar-chart-2"></i> | |
| </div> | |
| <h3 class="service-title">Digital Marketing</h3> | |
| <p class="service-description">Targeted campaigns across social media and search platforms to grow your audience.</p> | |
| </div> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-services', CustomServices); |