body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: black;
    padding: 20px;
    box-sizing: border-box;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-switcher button {
    background: #f6a222;
    border: none;
    color: white;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.language-switcher button:hover {
    background: white;
    color: #f6a222;
}

.card-container {
    perspective: 1000px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    width: 100%;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
    animation: sideToSide 5s infinite;
}

@keyframes sideToSide {
    0%, 100% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(10deg);
    }
}

.card.flip {
    animation: none;
    transform: rotateY(180deg);
}

.front, .back {
    backface-visibility: hidden;
    background: rgba(34, 34, 34, 0.8);
    color: white;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Ensure content is centered */
    border: 1px solid #f6a222;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.profile-img img {
    width: 150px;
    border-radius: 10%;
    max-width: 100%;
    animation: pulse 2s infinite;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-name {
    margin: 10px 0;
    font-size: 26px;
    color: #f6a222;
}

.slogan {
    color: #f6a222;
    font-size: 18px;
    margin-bottom: 20px;
}

h1 {
    margin: 10px 0;
    font-size: 24px;
    color: white;
}

li {
	text-align: left;
}



.contact-info {
    color: #bbb;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: row;
	text-align: center;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
    color: #f6a222;
    transition: color 0.3s ease;
	text-align: center;
}

.social-links a:hover {
    color: white;
	text-align: center;	
}

.info-btn {
    border: none;
    outline: none;
    padding: 10px 20px;
    background: #f6a222;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.info-btn:hover {
    background: white;
    color: #f6a222;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .card {
        height: 500px;
    }

    .profile-img img {
        width: 120px;
    }

    .company-name {
        font-size: 22px;
    }

    .slogan, .contact-info {
        font-size: 14px;
    }

    h1 {
        font-size: 20px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-links a {
        margin: 5px 0;
    }

    .back .profile-img {
        display: none;
    }
}
