body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    perspective: 1000px;
    position: relative;
}

nav {
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd700;
}

.floating-logo {
    position: fixed;
    top: 0px;
    left: 10px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-logo img {
    height: 140px;
    width: auto;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 48px;
    height: 48px;
}

.speech-bubble {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: white;
    color: #FF6600;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: white;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd700;
}

header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
    position: relative;
}

.header-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.5em;
    margin: 10px 0;
}

section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
}

h2 {
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

#sobre p {
    text-align: center;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sobre-content img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sobre-text p {
    text-align: justify;
    margin: 0 0 15px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-card:hover {
    transform: rotateY(15deg) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-card h3 {
    margin-top: 0;
    color: #007bff;
}

.service-card p {
    margin: 10px 0;
}

.service-link {
    display: inline-block !important;
    background-color: #007bff !important;
    color: white !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    margin-top: 10px !important;
    transition: background-color 0.3s !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
}

.service-link:hover {
    background-color: #0056b3 !important;
    text-decoration: none !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.contact-item h3 {
    margin: 0 0 10px 0;
    color: #007bff;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-intro {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
    }
    header h1 {
        font-size: 2em;
    }
    header p {
        font-size: 1.2em;
    }
    .sobre-content {
        flex-direction: column;
    }
}