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

:root {
    --metro-blue: #0078d4;
    --metro-green: #107c10;
    --metro-orange: #ff8c00;
    --metro-red: #e81123;
    --metro-purple: #8764b8;
    --metro-teal: #00bcf2;
    --metro-yellow: #ffb900;
    --metro-pink: #e3008c;
    --metro-dark: #1a1a1a;
    --metro-light: #f3f3f3;
    --metro-white: #ffffff;
    --metro-text: #1a1a1a;
    --metro-text-light: #666666;
    --metro-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --metro-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--metro-text);
    background: var(--metro-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

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

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
}

main {
    flex: 1;
}

.content {
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

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

.intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.description {
    font-size: 1.125rem;
    color: var(--metro-text-light);
    line-height: 1.8;
    font-weight: 400;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--metro-blue);
    color: var(--metro-white);
    border: none;
    border-radius: 4px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: var(--metro-shadow);
    transform: translateY(0);
    animation: slideInUp 0.6s ease-out backwards;
}

.info-card:nth-child(1) {
    background: var(--metro-blue);
    animation-delay: 0.1s;
}

.info-card:nth-child(2) {
    background: var(--metro-green);
    animation-delay: 0.2s;
}

.info-card:nth-child(3) {
    background: var(--metro-orange);
    animation-delay: 0.3s;
}

.info-card:nth-child(4) {
    background: var(--metro-red);
    animation-delay: 0.4s;
}

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

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--metro-shadow-hover);
}

.info-card:active {
    transform: translateY(-4px) scale(1.01);
}

.info-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

.info-card .icon i {
    display: inline-block;
    color: inherit;
}

.info-card:nth-child(1) .icon {
    animation-delay: 0s;
}

.info-card:nth-child(2) .icon {
    animation-delay: 0.5s;
}

.info-card:nth-child(3) .icon {
    animation-delay: 1s;
}

.info-card:nth-child(4) .icon {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.info-card:hover .icon {
    transform: scale(1.1) rotate(5deg) translateY(-5px);
    animation-play-state: paused;
}

.info-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--metro-white);
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.3s ease;
}

.info-card:hover h3 {
    transform: translateX(4px);
}

.contact-info {
    color: rgba(255, 255, 255, 0.95);
    margin: 0.75rem 0;
    font-size: 1.05rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.info-card:hover .contact-info {
    transform: translateX(4px);
}

.info-card a {
    color: var(--metro-white);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.info-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--metro-white);
    transition: width 0.3s ease;
}

.info-card a:hover {
    border-bottom-color: var(--metro-white);
}

.info-card a:hover::after {
    width: 100%;
}

/* Ripple effect */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.info-card:active::after {
    width: 300px;
    height: 300px;
}

.services-section {
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out;
}

.services-section h2 {
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--metro-text);
    margin-bottom: 2.5rem;
    text-align: left;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--metro-blue);
    transition: width 0.3s ease;
}

.services-section:hover h2::after {
    width: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--metro-white);
    color: var(--metro-text);
    border: none;
    border-radius: 4px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid var(--metro-blue);
    box-shadow: var(--metro-shadow);
    overflow: hidden;
    animation: slideInRight 0.6s ease-out backwards;
}

.service-card:nth-child(1) {
    border-left-color: var(--metro-teal);
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    border-left-color: var(--metro-purple);
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    border-left-color: var(--metro-yellow);
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    border-left-color: var(--metro-pink);
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    border-left-color: var(--metro-red);
    animation-delay: 0.5s;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: inherit;
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    background: var(--metro-light);
    transform: translateX(8px) translateY(-4px);
    box-shadow: var(--metro-shadow-hover);
    border-left-width: 6px;
}

.service-card:active {
    transform: translateX(4px) translateY(-2px);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float 3s ease-in-out infinite;
}

.service-card .icon i {
    display: inline-block;
    color: var(--metro-text);
}

.service-card:nth-child(1) .icon {
    animation-delay: 0s;
}

.service-card:nth-child(2) .icon {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) .icon {
    animation-delay: 0.8s;
}

.service-card:nth-child(4) .icon {
    animation-delay: 1.2s;
}

.service-card:nth-child(5) .icon {
    animation-delay: 1.6s;
}

.service-card:hover .icon {
    transform: scale(1.15) rotate(-5deg) translateY(-5px);
    animation-play-state: paused;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--metro-text);
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover h3 {
    transform: translateX(4px);
    color: var(--metro-blue);
}

.service-card a {
    color: var(--metro-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.service-card a::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card a:hover {
    border-bottom-color: var(--metro-blue);
    transform: translateX(4px);
}

.service-card a:hover::after {
    opacity: 1;
    right: -24px;
}

/* Ripple effect for service cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 120, 212, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-card:active::after {
    width: 300px;
    height: 300px;
}

footer {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 5rem;
    color: var(--metro-text-light);
    font-size: 0.875rem;
    font-weight: 400;
    border-top: 1px solid var(--metro-light);
    animation: fadeIn 1.2s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .info-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-section h2 {
        font-size: 2rem;
    }

    .info-card,
    .service-card {
        min-height: 180px;
        padding: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .info-card:hover,
    .service-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .service-card:hover {
        transform: translateX(4px) translateY(-2px);
    }
}

@media (max-width: 480px) {
    .info-card h3 {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .services-section h2 {
        font-size: 1.75rem;
    }

    .info-card,
    .service-card {
        padding: 1.5rem;
    }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

.service-card .ripple {
    background: rgba(0, 120, 212, 0.3);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--metro-blue);
    color: var(--metro-white);
}

::-moz-selection {
    background: var(--metro-blue);
    color: var(--metro-white);
}
