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

body {
    font-family: 'Arial', sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    overflow-y: auto; /* Allow vertical scrolling */
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 70%;
    height: 70%;
    background-image: url('https://images.unsplash.com/photo-1557264337-b9715d49c7da?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    transform: rotate(-10deg);
    filter: blur(2px) brightness(1.5);
    mask-image: linear-gradient(to top left, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to top left, rgba(0,0,0,1), rgba(0,0,0,0));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh; /* Change from height to min-height */
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
}

.logo {
    max-height: 60px;
    width: auto;
}

.grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-height: 0; /* Prevents overflow issues */
}

.services {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-grow: 1;
}

.service-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: #3f3f3f;
    border: 1px solid #535353;
    backdrop-filter: blur(4px);
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.service-item h3 {
    margin-bottom: 10px;
    color: #ffffff;
    height: 45px;
}

.service-item p {
    color: #cccccc;
    text-align: left;
}

.service-item i {
    font-size: 2em;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.bottom-row {
    display: flex;
    gap: 20px;
}

.bottom-row section {
    flex: 1;
}

.clients {
    flex: 2; /* Takes twice the space of the CEO section */
}

.footer {
    position: fixed;
    top: calc(100vh / 2);
    left: -80px;
    transform: rotate(-90deg) translateY(-50%);
    font-size: 1.5em;
}

.important {
    color: white;
    text-decoration: underline;
    text-decoration-color: #ff6b6b;
}

@media (max-width: 1280px) {
    .footer {
        position:inherit;
        top: inherit;
        font-size: inherit;
        left: inherit;
        transform: inherit;
        text-align: center;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.8);
    }
}

.footer .contact-info {
    justify-content: center;
    align-items: center;
}

section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.email {
    position: absolute;
    left: 0;
    top: 50%;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: left center;
    font-size: 18px;
    font-weight: bold;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Clients Section */
.client-logos {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.client-column {
    flex: 1;
}

.client-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.client-logos li {
    margin: 6px 0;
}

.client-logos a {
    text-decoration: none;
}

.client-logos li p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid #ff6b6b;
    display: inline-block;
    padding-bottom: 3px;
}

.client-logos li a:hover p {
    color: #ffffff;
    transform: translateX(10px);
    border-bottom-width: 2px;
}

/* Remove the old client-logos img styles since we're not using images anymore */
.client-logos img {
    display: none;
}

.ceo {
    display: flex;
}

/* CEO Section */
.ceo-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ceo-image {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.ceo-text {
    flex: 1;
}

.ceo-name {
    margin-top: 15px;
    font-style: italic;
    color: #ff6b6b;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        height: auto;
        min-height: 100vh;
    }
    
    .services-grid {
        flex-wrap: wrap;
    }
    
    .client-logos {
        flex-direction: column;
        gap: 20px;
    }
    
    .bottom-row {
        flex-direction: column;
    }
    
    .service-item {
        min-width: calc(50% - 20px);
        flex: 0 1 calc(50% - 20px); /* Don't grow, allow shrink, set basis */
    }
}

@media (max-width: 768px) {
    .ceo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        flex-direction: column;
    }
    
    .service-item {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header {
        height: 80px;
    }
    
    .logo {
        max-height: 40px;
    }
    
    .client-logos img {
        width: 80px;
        height: 80px;
    }
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #ff6b6b;
    padding-bottom: 3px;
}

.footer a:hover {
    color: #ffffff;
    border-bottom-width: 2px;
} 