Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <!-- ====================================================================== CSS - Place this in your <head> or in an external stylesheet. ====================================================================== --> <style> :root { --ps-hero-padding: 5rem 1.5rem; --ps-hero-min-height: 420px; --ps-hero-bg-color: #f9fafb; --ps-hero-text-color: #374151; --ps-hero-headline-color: #111827; --ps-hero-cta-bg: #1e40af; --ps-hero-cta-hover-bg: #1e3a8a; --ps-hero-cta-text-color: #ffffff; --ps-hero-max-width: 800px; } .prof-service-hero { box-sizing: border-box; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; min-height: var(--ps-hero-min-height); padding: var(--ps-hero-padding); background-color: var(--ps-hero-bg-color); width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; } .prof-service-hero * { box-sizing: border-box; } .prof-service-hero-content { max-width: var(--ps-hero-max-width); } .prof-service-hero-title { color: var(--ps-hero-headline-color); margin: 0 0 1rem 0; font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.2; } .prof-service-hero-subtitle { color: var(--ps-hero-text-color); font-size: clamp(1.1rem, 3vw, 1.2rem); font-weight: 400; line-height: 1.6; margin: 0 0 2.5rem 0; } .prof-service-hero-cta { display: inline-block; background-color: var(--ps-hero-cta-bg); color: var(--ps-hero-cta-text-color); padding: 1rem 2.2rem; border-radius: 6px; border: none; font-size: 1.05rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease; } .prof-service-hero-cta:hover { background-color: var(--ps-hero-cta-hover-bg); } </style> <!-- ====================================================================== HTML - Place this in your <body> where you want the component to appear. ====================================================================== --> <section class="prof-service-hero"> <div class="prof-service-hero-content"> <h1 class="prof-service-hero-title">Strategic Solutions for Complex Challenges</h1> <p class="prof-service-hero-subtitle"> We provide expert financial consulting to help businesses navigate market volatility, optimize performance, and achieve sustainable growth. </p> <a href="#" role="button" class="prof-service-hero-cta">Book a Discovery Call</a> </div> </section>