:root {
    --primary: #2196d3;   /* CMYK: 70/30/0/0 */
    --secondary: #4fc3f7; /* CMYK: 55/0/0/0 */
    --accent: #1976c5;    /* CMYK: 85/45/0/0 */
    --light: #7ed6fb;     /* CMYK: 40/0/0/0 */
    --mid: #42a5db;       /* CMYK: 60/17/0/0 */
    --black: #222222;     /* CMYK: 0/0/0/100 */
    --text: #222222;
    --bg: #f8fcff;
    --animation-duration: 0.6s;
    --animation-timing: ease-in-out;
    --error-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 252, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo svg {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-content {
    flex: 1 1 0;
    max-width: 520px;
    padding-right: 0;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(55, 121, 198, 0.2);
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 114, 182, 0.3);
}

.hero-shapes {
    flex: 0 1 400px;
    width: 400px;
    min-width: 260px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
    position: relative;
    overflow: visible;
}

.logo-piece {
    position: absolute;
    opacity: 1;
    animation: assemble 4.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
    transform-origin: center;
    transform: translate(var(--start-x), var(--start-y)) 
              rotate(var(--start-rotation)) 
              scale(1);
    will-change: transform;
}

@keyframes assemble {
    0% {
        opacity: 0;
        transform: translate(var(--start-x), var(--start-y)) 
                  rotate(var(--start-rotation)) 
                  scale(1);
    }
    70% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0) scale(1);
    }
}

#path656 { --start-x: -100vw; --start-y: -100vh; --start-rotation: -180deg; animation-delay: 0s; }
#path658 { --start-x: 100vw; --start-y: -100vh; --start-rotation: 180deg; animation-delay: 0.1s; }
#path660 { --start-x: -100vw; --start-y: 100vh; --start-rotation: 120deg; animation-delay: 0.2s; }
#path662 { --start-x: 100vw; --start-y: 100vh; --start-rotation: -120deg; animation-delay: 0.3s; }
#path664 { --start-x: 100vw; --start-y: 0; --start-rotation: 240deg; animation-delay: 0.4s; }
#path666 { --start-x: -100vw; --start-y: 0; --start-rotation: -240deg; animation-delay: 0.5s; }
#path668 { --start-x: 0; --start-y: -100vh; --start-rotation: 360deg; animation-delay: 0.6s; }
#path670 { --start-x: 0; --start-y: 100vh; --start-rotation: -360deg; animation-delay: 0.7s; }
#path672 { --start-x: 100vw; --start-y: -50vh; --start-rotation: 480deg; animation-delay: 0.8s; }
#path674 { --start-x: -100vw; --start-y: -50vh; --start-rotation: -480deg; animation-delay: 0.9s; }
#path676 { --start-x: 100vw; --start-y: 50vh; --start-rotation: 600deg; animation-delay: 1s; }
#path678 { --start-x: -100vw; --start-y: 50vh; --start-rotation: -600deg; animation-delay: 1.1s; }
#path680 { --start-x: 50vw; --start-y: -100vh; --start-rotation: 720deg; animation-delay: 1.2s; }
#path682 { --start-x: -50vw; --start-y: 100vh; --start-rotation: -720deg; animation-delay: 1.3s; }
#path684 { --start-x: 100vw; --start-y: -25vh; --start-rotation: 840deg; animation-delay: 1.4s; }
#path686 { --start-x: -100vw; --start-y: 25vh; --start-rotation: -840deg; animation-delay: 1.5s; }
#path688 { --start-x: 75vw; --start-y: -75vh; --start-rotation: 960deg; animation-delay: 1.6s; }
#path690 { --start-x: -75vw; --start-y: -75vh; --start-rotation: -960deg; animation-delay: 1.7s; }

svg {
    overflow: visible;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    animation: float 20s infinite alternate;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 30%;
    animation: float 15s infinite alternate-reverse;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 50%;
    animation: float 18s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
    }
    100% {
        transform: translate(30px, -30px) rotate(360deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: rgba(255,255,255,0.92);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 32px rgba(33, 150, 211, 0.10), 0 1.5px 6px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(33, 150, 211, 0.18), 0 3px 12px rgba(0,0,0,0.10);
}

.approach-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.approach-card h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.approach-card p {
    color: #666;
}

.tech-section {
    background: linear-gradient(135deg, rgba(33, 150, 211, 0.05), rgba(79, 195, 247, 0.05));
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(33, 150, 211, 0.10), 0 1.5px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(33, 150, 211, 0.18), 0 3px 12px rgba(0,0,0,0.10);
}

.tech-header {
    padding: 1.5rem;
}

.tech-header h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tech-body {
    padding: 0 1.5rem 1.5rem;
}

.tech-body p {
    margin-bottom: 1rem;
    color: #666;
}

.case-example {
    background: rgba(89, 202, 245, 0.1);
    padding: 1rem;
    border-radius: 5px;
}

.case-example h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.case-example p {
    font-size: 0.9rem;
    margin: 0;
}

.process-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(153, 222, 249, 0.1), rgba(45, 114, 182, 0.05));
    z-index: 1;
}

.process-content {
    position: relative;
    z-index: 2;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    left: 50%;
}

.timeline-content {
    background: rgba(255,255,255,0.92);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.timeline-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    right: -8px;
    top: 20px;
    box-shadow: 0 0 0 4px rgba(25, 118, 197, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-form {
    background: rgba(255,255,255,0.92);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 121, 198, 0.1);
}

.form-control.invalid {
    border-color: var(--error-color, #dc3545);
    background-color: rgba(220, 53, 69, 0.05);
}

.error-message {
    color: var(--error-color, #dc3545);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent);
}

@media (max-width: 900px) {
    .hero > .container {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-shapes {
        width: 100%;
        min-width: 0;
        height: 260px;
    }
    .logo-container {
        max-width: 260px;
        max-height: 260px;
    }
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 0 0 200px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-section h4 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}

.background-logos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.background-logo {
    position: absolute;
    opacity: 0.1;
    animation: floatLogo 20s infinite linear;
    transform-origin: center;
    will-change: transform, opacity;
}

.background-logo path {
    fill: currentColor;
    transition: fill 0.3s ease;
}

@keyframes floatLogo {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    25% {
        transform: rotate(90deg) translate(20px, 20px);
    }
    50% {
        transform: rotate(180deg) translate(0, 40px);
    }
    75% {
        transform: rotate(270deg) translate(-20px, 20px);
    }
    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

.training-section {
    background: linear-gradient(135deg, rgba(33, 150, 211, 0.03), rgba(79, 195, 247, 0.03));
    position: relative;
    overflow: hidden;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.training-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.training-card:hover::before {
    transform: scaleX(1);
}

.training-header {
    margin-bottom: 1.5rem;
}

.training-header h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.training-body p {
    color: #555;
    margin-bottom: 1.5rem;
}

.training-topics {
    list-style: none;
    padding: 0;
}

.training-topics li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.training-topics li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.custom-training {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.custom-training h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.custom-training p {
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-training {
        padding: 2rem;
    }
}

.bg-primary {
    background: var(--primary);
    color: #fff;
}

.bg-secondary {
    background: var(--secondary);
    color: #222;
}

.bg-light {
    background: var(--light);
    color: #222;
}

.bg-dark {
    background: var(--black);
    color: #fff;
}

.bg-grey {
    background: #ededed;
    color: #222;
}

.logo-rotate {
    transition: transform var(--animation-duration) var(--animation-timing);
}

@media (prefers-reduced-motion: reduce) {
    .logo-rotate,
    .background-logo,
    .logo-piece,
    .approach-card,
    .tech-card,
    .training-card {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles */
:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn,
    .submit-btn {
        border: 2px solid currentColor;
    }
    
    .nav-links a::after {
        border-bottom: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Minimum touch target size */
button,
.btn,
.submit-btn,
.nav-links a {
    min-height: 44px;
    min-width: 44px;
}

/* Error states */
.form-control.invalid {
    border-color: var(--error-color);
    background-color: rgba(220, 53, 69, 0.05);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Screen reader only */
.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;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--light);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--light);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(248, 252, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-text {
        text-align: center;
    }

    .contact-form {
        max-width: 100%;
    }
} 