:root {
    --primary-blue: #1e3a8a;
    --primary-light: #3b82f6;
    --watercolor-blue: #4a90e2;
    --watercolor-light: #7bb3f0;
    --watercolor-dark: #2c5f7c;
    --accent-orange: #f59e0b;
    --accent-orange-dark: #d97706;
    --neutral-100: #f8fafc;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --text-primary: #333;
    --shadow-soft: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--watercolor-dark) 0%, var(--watercolor-blue) 50%, var(--watercolor-light) 100%);
    --gradient-accent: linear-gradient(45deg, var(--accent-orange) 0%, #ec4899 100%);
    --watercolor-gradient: linear-gradient(45deg, rgba(74,144,226,0.1) 0%, rgba(123,179,240,0.15) 50%, rgba(44,95,124,0.1) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.5;
    border-radius: 50%;
    background: #3b82f6;
    animation: floatMove 15s infinite linear;
    box-shadow: 0 0 30px rgba(74,144,226,0.4);
    z-index: 1;
}

.floating-shape:nth-child(1) {
    width: 150px;
    height: 150px;
    left: 10%;
    top: 20%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    left: 70%;
    top: 50%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 120px;
    height: 120px;
    left: 40%;
    top: 70%;
    animation-duration: 18s;
    animation-delay: -10s;
}

.floating-shape:nth-child(4) {
    width: 180px;
    height: 180px;
    left: 85%;
    top: 10%;
    animation-duration: 22s;
    animation-delay: -15s;
}

@keyframes floatMove {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) translateX(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(135deg, rgba(44,95,124,0.95) 0%, rgba(74,144,226,0.95) 50%, rgba(123,179,240,0.95) 100%);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(44,95,124,0.98) 0%, rgba(74,144,226,0.98) 50%, rgba(123,179,240,0.98) 100%);
    padding: 0.75rem 0;
}

.navbar.scrolled .logo-image {
    height: 40px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: brightness(1.1) contrast(1.05) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: var(--transition-smooth);
}

.logo-text {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #60a5fa;
}

.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245,158,11,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.arrow-down {
    display: inline-block;
    margin-top: 2rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: transform 0.3s ease;
}

.arrow-down:hover {
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.services {
    padding: 80px 0;
    background-color: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    perspective: 1000px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-medium);
    border-color: rgba(59, 130, 246, 0.2);
}

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

.service-card:hover .service-icon {
    opacity: 1;
    transform: scale(1.1) rotateZ(5deg);
}

.service-card:hover .stat {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.services-grid:hover .service-card:not(:hover) {
    opacity: 0.7;
    transform: scale(0.98);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.service-icon-img {
    width: 240px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.stat {
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

.about {
    padding: 80px 0;
    background: linear-gradient(45deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 20%;
    height: 60%;
    background: var(--gradient-accent);
    opacity: 0.03;
    border-radius: 50%;
    transform: translateY(-50%);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

.company-highlights {
    list-style: none;
    margin-top: 2rem;
}

.company-highlights li {
    padding: 0.5rem 0;
    color: #1e3a8a;
    font-weight: 500;
}

.company-highlights li:before {
    content: "✓ ";
    color: #f59e0b;
    font-weight: bold;
    margin-right: 0.5rem;
}

.contact {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    padding: 0.5rem 0;
    color: #4b5563;
}

.contact-item strong {
    color: #1e3a8a;
}

.contact-simple h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-simple p {
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.email-button {
    display: inline-block;
    background-color: #1e3a8a;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.email-button:hover {
    background-color: #1e40af;
}

footer {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--watercolor-gradient);
    pointer-events: none;
}

footer p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .services, .about, .contact {
        padding: 60px 0;
    }
    
    .services h2, .about h2, .contact h2 {
        font-size: 2rem;
    }
}

/* Smooth page entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8), 0 0 30px rgba(245, 158, 11, 0.4);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.arrow-down {
    animation: fadeInUp 0.8s ease-out 0.6s both, bounce 2s 0.8s infinite;
}

.service-card {
    animation: fadeInUp 0.6s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.about-content {
    animation: fadeInLeft 0.8s ease-out;
}

.contact-content {
    animation: fadeInUp 0.8s ease-out;
}