Files
ukaiautomation/assets/css/main.css
2025-06-07 10:53:32 +01:00

948 lines
16 KiB
CSS

/* CSS Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Roboto Slab', 'Lato', sans-serif;
line-height: 1.6;
color: #444444;
background-color: #ffffff;
}
/* Utility Classes */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.btn {
display: inline-block;
padding: 14px 28px;
border: none;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
font-size: 16px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn-primary {
background: #179e83;
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
background: #11725e;
box-shadow: 0 4px 16px rgba(23, 158, 131, 0.3);
}
.btn-secondary {
background: white;
color: #144784;
border: 2px solid #144784;
}
.btn-secondary:hover {
background: #144784;
color: white;
transform: translateY(-2px);
}
.btn-full {
width: 100%;
}
.highlight {
background: linear-gradient(135deg, #179e83, #1bbc9b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-header h2 {
font-size: 2.5rem;
font-weight: 600;
margin-bottom: 16px;
color: #1a1a1a;
}
.section-header p {
font-size: 1.2rem;
color: #666;
max-width: 600px;
margin: 0 auto;
}
/* Navigation */
.navbar {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
z-index: 1000;
transition: all 0.3s ease;
}
.navbar.scrolled {
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
}
.nav-logo img {
height: 40px;
width: auto;
}
.nav-menu {
display: flex;
align-items: center;
gap: 30px;
}
.nav-link {
text-decoration: none;
color: #1a1a1a;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-link:hover {
color: #144784;
}
.nav-link.cta-button {
background: #179e83;
color: white;
padding: 10px 20px;
border-radius: 6px;
transition: all 0.3s ease;
}
.nav-link.cta-button:hover {
transform: translateY(-2px);
background: #11725e;
box-shadow: 0 4px 16px rgba(23, 158, 131, 0.3);
}
.nav-toggle {
display: none;
flex-direction: column;
cursor: pointer;
}
.bar {
width: 25px;
height: 3px;
background: #1a1a1a;
margin: 3px 0;
transition: 0.3s;
}
/* Hero Section */
.hero {
padding: 120px 0 80px;
background: linear-gradient(135deg, #252d3b 0%, #144784 100%);
min-height: 100vh;
display: flex;
align-items: center;
color: white;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 100%;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="300" cy="200" r="150" fill="%23179e83" opacity="0.1"/><circle cx="350" cy="150" r="100" fill="%23ffffff" opacity="0.05"/><rect x="250" y="180" width="120" height="80" rx="10" fill="%23ffffff" opacity="0.1"/></svg>') no-repeat center;
background-size: contain;
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
.hero-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.hero-content {
animation: fadeInUp 1s ease;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 24px;
color: #ffffff;
}
.hero-subtitle {
font-size: 1.3rem;
color: #ffffff;
margin-bottom: 40px;
line-height: 1.6;
opacity: 0.9;
}
.hero-buttons {
display: flex;
gap: 20px;
margin-bottom: 60px;
}
.hero-stats {
display: flex;
gap: 40px;
}
.stat {
text-align: center;
}
.stat-number {
display: block;
font-size: 2rem;
font-weight: 700;
color: #179e83;
}
.stat-label {
display: block;
font-size: 0.9rem;
color: #ffffff;
font-weight: 500;
opacity: 0.8;
}
.hero-image {
animation: fadeInRight 1s ease;
position: relative;
z-index: 2;
}
.hero-graphic {
width: 100%;
height: auto;
max-width: 500px;
animation: float 6s ease-in-out infinite;
}
.hero-graphic svg {
width: 100%;
height: auto;
filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}
/* Hero Graphic Animations */
.hero-graphic .bg-circle-1 {
animation: rotate 20s linear infinite;
transform-origin: center;
}
.hero-graphic .bg-circle-2 {
animation: rotate 15s linear infinite reverse;
transform-origin: center;
}
.hero-graphic .browser-main {
animation: pulse 4s ease-in-out infinite;
}
.hero-graphic .database {
animation: pulse 6s ease-in-out infinite;
}
.hero-graphic .dashboard {
animation: pulse 5s ease-in-out infinite;
}
.hero-graphic .chart-bar-1 {
animation: grow-bar 3s ease-in-out infinite;
}
.hero-graphic .chart-bar-2 {
animation: grow-bar 3s ease-in-out infinite 0.5s;
}
.hero-graphic .chart-bar-3 {
animation: grow-bar 3s ease-in-out infinite 1s;
}
.hero-graphic .chart-bar-4 {
animation: grow-bar 3s ease-in-out infinite 1.5s;
}
.hero-graphic .chart-bar-5 {
animation: grow-bar 3s ease-in-out infinite 2s;
}
.hero-graphic .extraction-path {
stroke-dasharray: 200;
stroke-dashoffset: 200;
animation: draw-line 4s ease-in-out infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes grow-bar {
0%, 100% { transform: scaleY(1); }
50% { transform: scaleY(1.3); }
}
@keyframes draw-line {
0% { stroke-dashoffset: 200; }
50% { stroke-dashoffset: 0; }
100% { stroke-dashoffset: -200; }
}
@keyframes data-pulse {
0%, 100% { opacity: 0.7; transform: scale(1); }
50% { opacity: 1; transform: scale(1.1); }
}
.hero-img {
width: 100%;
height: auto;
max-width: 500px;
}
/* Services Section */
.services {
padding: 100px 0;
background: white;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
}
.service-card {
background: white;
padding: 40px;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
border: 1px solid #f0f0f0;
}
.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}
.service-icon {
width: 60px;
height: 60px;
margin-bottom: 24px;
}
.service-icon img {
width: 100%;
height: 100%;
}
.service-card h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 16px;
color: #1a1a1a;
}
.service-card p {
color: #666;
margin-bottom: 20px;
line-height: 1.6;
}
.service-card ul {
list-style: none;
}
.service-card li {
padding: 8px 0;
color: #555;
position: relative;
padding-left: 20px;
}
.service-card li:before {
content: '✓';
position: absolute;
left: 0;
color: #179e83;
font-weight: bold;
}
/* Process Section */
.process {
padding: 100px 0;
background: #f8f9fa;
}
.process-steps {
max-width: 800px;
margin: 0 auto;
}
.step {
display: flex;
align-items: flex-start;
margin-bottom: 50px;
animation: fadeInUp 0.6s ease;
}
.step:last-child {
margin-bottom: 0;
}
.step-number {
background: #179e83;
color: white;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
margin-right: 30px;
flex-shrink: 0;
}
.step-content h3 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 12px;
color: #1a1a1a;
}
.step-content p {
color: #666;
line-height: 1.6;
}
/* Why Us Section */
.why-us {
padding: 100px 0;
background: white;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}
.feature {
text-align: center;
padding: 30px;
animation: fadeInUp 0.6s ease;
}
.feature-icon {
width: 80px;
height: 80px;
margin: 0 auto 24px;
}
.feature-icon img {
width: 100%;
height: 100%;
}
.feature h3 {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 16px;
color: #1a1a1a;
}
.feature p {
color: #666;
line-height: 1.6;
}
/* Contact Section */
.contact {
padding: 100px 0;
background: #f8f9fa;
}
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}
.contact-info h2 {
font-size: 2.5rem;
font-weight: 600;
margin-bottom: 20px;
color: #1a1a1a;
}
.contact-info p {
font-size: 1.2rem;
color: #666;
margin-bottom: 40px;
line-height: 1.6;
}
.contact-details {
display: flex;
flex-direction: column;
gap: 30px;
}
.contact-item {
display: flex;
align-items: center;
gap: 20px;
}
.contact-item img {
width: 40px;
height: 40px;
}
.contact-item strong {
display: block;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 4px;
}
.contact-item p {
margin: 0;
color: #666;
}
.contact-item a {
color: #179e83;
text-decoration: none;
}
.contact-item a:hover {
text-decoration: underline;
}
/* Form Styles */
.contact-form {
background: white;
padding: 40px;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.form-group {
margin-bottom: 24px;
}
.form-group label {
display: block;
font-weight: 500;
margin-bottom: 8px;
color: #1a1a1a;
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e5e9;
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s ease;
background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #179e83;
box-shadow: 0 0 0 3px rgba(23, 158, 131, 0.1);
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
/* Footer */
.footer {
background: #151f25;
color: white;
padding: 60px 0 30px;
}
.footer-content {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 40px;
margin-bottom: 40px;
}
.footer-section h3 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 20px;
color: white;
}
.footer-section ul {
list-style: none;
}
.footer-section li {
margin-bottom: 12px;
}
.footer-section a {
color: #ccc;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-section a:hover {
color: #179e83;
}
.footer-logo img {
height: 40px;
margin-bottom: 20px;
}
.footer-section p {
color: #ccc;
line-height: 1.6;
}
.footer-bottom {
border-top: 1px solid #333;
padding-top: 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.social-links {
display: flex;
gap: 20px;
}
.social-links a {
display: block;
width: 40px;
height: 40px;
}
.social-links img {
width: 100%;
height: 100%;
filter: invert(1);
transition: filter 0.3s ease;
}
.social-links a:hover img {
filter: invert(0.7) sepia(1) saturate(2) hue-rotate(240deg);
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes fadeInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
@keyframes slideInFromBottom {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Animation Classes */
.animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease-out;
}
.animate-on-scroll.animated {
opacity: 1;
transform: translateY(0);
}
.service-card {
animation: slideInFromBottom 0.6s ease-out forwards;
animation-delay: var(--animation-delay, 0s);
}
.feature {
animation: fadeInUp 0.6s ease-out forwards;
animation-delay: var(--animation-delay, 0s);
}
.step {
animation: fadeInLeft 0.6s ease-out forwards;
animation-delay: var(--animation-delay, 0s);
}
/* Responsive Design */
@media (max-width: 768px) {
.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: white;
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 40px 0;
gap: 20px;
}
.nav-menu.active {
left: 0;
}
.nav-toggle {
display: flex;
}
.nav-toggle.active .bar:nth-child(2) {
opacity: 0;
}
.nav-toggle.active .bar:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
.hero-container {
grid-template-columns: 1fr;
gap: 40px;
text-align: center;
}
.hero-title {
font-size: 2.5rem;
}
.hero-buttons {
flex-direction: column;
align-items: center;
}
.hero-stats {
justify-content: center;
gap: 30px;
}
.section-header h2 {
font-size: 2rem;
}
.services-grid {
grid-template-columns: 1fr;
}
.features-grid {
grid-template-columns: 1fr;
}
.contact-content {
grid-template-columns: 1fr;
gap: 40px;
}
.footer-content {
grid-template-columns: 1fr;
gap: 30px;
text-align: center;
}
.footer-bottom {
flex-direction: column;
gap: 20px;
text-align: center;
}
}
@media (max-width: 480px) {
.container {
padding: 0 15px;
}
.hero {
padding: 100px 0 60px;
}
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.btn {
padding: 12px 24px;
font-size: 14px;
}
.service-card,
.contact-form {
padding: 30px 20px;
}
.step {
flex-direction: column;
text-align: center;
}
.step-number {
margin: 0 0 20px 0;
}
}
/* Performance Optimizations */
img {
max-width: 100%;
height: auto;
loading: lazy;
}
/* Accessibility */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
outline: 2px solid #179e83;
outline-offset: 2px;
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.btn-primary {
background: #000;
border: 2px solid #000;
}
.highlight {
background: #000;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}