body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background-color: #1e3a8a;
    color: #ffffff;
    overflow-x: hidden;
}

.main-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.services {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service img:hover {
    transform: scale(1.1);
}

.service span {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Specific style for AWS logo */
.service img[src*="aws-logo"] {
    width: 90px;
    height: 90px;
    opacity: 0.8;
}

.rocket-image {
    position: fixed;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background-image: url('/images/rocket.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    opacity: 0.8;
    transition: right 0.5s ease-out, transform 10s ease-in-out;
    animation: float 10s ease-in-out infinite;
}

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

@media (min-width: 1200px) {
    .rocket-image {
        right: 0;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .rocket-image {
        width: 200px;
        height: 200px;
        right: -50px;
    }
    
    .services {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}
