* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


#preload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    overflow: hidden !important;
}

#preload-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}


#preload-screen-1 {
    text-align: center;
}

.loader-1 {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    position: relative;
}

.loader-1-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: #8a2be2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-1-inner:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #4b0082;
    animation-duration: 0.8s;
    animation-direction: reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 10px;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}


body:not(.main-content-active) {
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    width: 100%;
    height: 100vh;
    background: #000;
}

#globe-container { 
    margin: 0; 
    background: #000; 
    overflow: hidden; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}


#imageContainer {
    position: absolute;
    width: 320px;
    max-width: 90vw; /* Responsivo */
    height: auto;
    min-height: 450px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible; 
    padding: 20px; 
}

#imageContainer.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

#imageDisplay {
    width: 280px;
    max-width: 100%; 
    height: auto;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; 
    margin-bottom: 10px;
    background: transparent;
}

#displayedImage {
    width: 100%;
    height: auto;
    max-height: none; 
    object-fit: contain; 
    display: block;
}


#custom-cursor {
    position: fixed;
    width: 18px;
    height: 18px;
    background: #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 5px 1px #fff, 
        0 0 10px 3px #8a2be2, 
        0 0 20px 5px #4b0082;
    transition: width 0.2s, height 0.2s, box-shadow 0.3s ease;
    display: block;
}


@media (hover: none) and (pointer: coarse) {
    #custom-cursor {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
}

body.main-content-active #custom-cursor {
    display: block;
}

#custom-cursor.clickable {
    box-shadow: 
        0 0 6px 1px #fff, 
        0 0 12px 4px #00d4ff, 
        0 0 25px 8px #6a0dad;
}

#black-hole {
    position: fixed;
    width: 18px;
    height: 18px;
    background: #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 5px 1px #fff, 
        0 0 10px 3px #8a2be2, 
        0 0 20px 5px #4b0082;
    transition: width 0.2s, height 0.2s, box-shadow 0.3s ease;
    display: block;
}


@media (hover: none) and (pointer: coarse) {
    #black-hole {
        display: none !important;
    }
}

#black-hole.clickable {
    box-shadow: 
        0 0 6px 1px #fff, 
        0 0 12px 4px #00d4ff, 
        0 0 25px 8px #6a0dad;
}

#canvas { 
    display: block; 
    filter: blur(0.4px) contrast(1.1); 
    width: 100%;
    height: 100%;
}

.btn-3d-neon {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: rgba(75, 0, 130, 0.7);
    border: none;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 6px 0 rgba(26, 0, 38, 0.6), 0 8px 15px rgba(75, 0, 130, 0.4);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
    min-width: 200px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    margin-top: 10px;
}

.btn-3d-neon:hover {
    background: rgba(90, 0, 160, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(26, 0, 38, 0.6), 0 10px 20px rgba(138, 43, 226, 0.5);
}

.btn-3d-neon:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(26, 0, 38, 0.6), 0 4px 10px rgba(75, 0, 130, 0.4);
}

.instruction-text {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
    animation: pulseText 2s infinite ease-in-out;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}


.descend-animation {
    animation: descend 2s ease forwards;
}

@keyframes descend {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}


.main-content {
    position: absolute;
    width: 100%;
    background: transparent;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    overflow-x: hidden !important;
    display: none;
}

.main-content.show {
    opacity: 1;
    pointer-events: all;
    display: block;
}


body.main-content-active {
    margin: 0;
    background-color: #050505;
    color: white;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    min-height: 600vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    transform-origin: top left;
}

html.main-content-active {
    overflow-x: hidden;
    overflow-y: auto;
    transform-origin: top left;
}


#container, #liquid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
}
#container { z-index: -2; }
#liquid { z-index: -1; }

.viewport {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
    pointer-events: none;
}

.carousel {
    position: relative;
    width: 280px;
    height: 180px;
    transform-style: preserve-3d;
    transform: rotateX(10deg);
    pointer-events: auto;
    will-change: transform;
}


.card {
    position: absolute;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(25, 15, 40, 0.92), rgba(10, 5, 20, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backface-visibility: visible;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateZ(20px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.6);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateZ(40px);
}

.card-icon {
    width: 35px; 
    height: 35px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.card-description {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #d8b4fe;
    opacity: 0.9;
}


footer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(5, 0, 16, 0.95);
    padding: 60px 40px 20px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    z-index: 10;
    opacity: 0;
    transform: translateY(100px);
    transition: bottom 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease, transform 1s ease;
}

footer.show {
    bottom: 0;
    opacity: 1;
    transform: translateY(0);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-column:first-child {
    padding-right: 15px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #8a2be2;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #8a2be2;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #a0a0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #8a2be2;
    padding-left: 5px;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #a0a0ff;
    margin-bottom: 15px;
}

.contact-info-small {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.contact-info-small p {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-small i {
    color: #8a2be2;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 50%;
    color: #8a2be2;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: #8a2be2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(138, 43, 226, 0.4);
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    color: #a0a0ff;
    font-size: 0.85rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 20px 0;
}

.contact-btn {
    background: #8a2be2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    margin-top: 10px;
}

.contact-btn:hover {
    background: #7a1bd2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}


.contact-popup, .work-popup, .service-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 0, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.contact-popup.active, .work-popup.active, .service-popup.active {
    display: flex;
}

.popup-content, .service-popup-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 420px;
    padding: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow-y: visible;
    box-sizing: border-box;
    max-height: none;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    text-align: center;
}

.popup-header h3 {
    font-size: 1.3rem;
    color: #8a2be2;
    margin: 0;
    text-align: center;
    flex: 1;
}

.close-popup {
    background: none;
    border: none;
    color: #a0a0ff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.close-popup:hover {
    color: #8a2be2;
}


.service-popup-body {
    color: #a0a0ff;
    line-height: 1.6;
}

.service-popup-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.service-icon-large {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
}

.service-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-popup-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: center;
}

.service-benefits {
    background: rgba(138, 43, 226, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    border-left: 3px solid #8a2be2;
}

.service-benefits h4 {
    color: #d8b4fe;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
}

.service-benefits ul {
    margin: 0;
    padding-left: 18px;
}

.service-benefits li {
    margin-bottom: 6px;
    color: #c0b3ff;
    font-size: 0.9rem;
}

.service-action-btn {
    background: #8a2be2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.service-action-btn:hover {
    background: #7a1bd2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

.popup-contact-info {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.popup-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.popup-contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8a2be2;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.popup-contact-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.popup-contact-item:hover .popup-contact-icon {
    background: rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

.popup-contact-item p {
    margin: 0;
    font-size: 0.75rem;
    color: #a0a0ff;
    text-align: center;
    line-height: 1.3;
}

.popup-contact-item strong {
    color: #e0e0ff;
    margin-bottom: 3px;
    font-size: 0.85rem;
    text-align: center;
}

.work-popup-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 380px;
    padding: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    box-sizing: border-box;
}

.work-popup-text {
    color: #a0a0ff;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 15px;
}

.work-popup-text p {
    margin-bottom: 10px;
}

.work-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.work-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.work-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8a2be2;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.work-contact-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #a0a0ff;
}

.work-contact-item strong {
    color: #e0e0ff;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.popup-form {
    margin-top: 12px;
}

.popup-form-group {
    margin-bottom: 6px;
}

.popup-form-control {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #e0e0ff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.popup-form-control:focus {
    border-color: #8a2be2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

textarea.popup-form-control {
    min-height: 60px;
    resize: vertical;
}

.popup-submit-btn {
    background: #8a2be2;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
    margin-top: 8px;
}

.popup-submit-btn:hover {
    background: #7a1bd2;
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.4);
}


.direct-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.direct-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851, #0d7d5a);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
    color: white;
    border-color: rgba(138, 43, 226, 0.3);
}

.email-btn:hover {
    background: linear-gradient(135deg, #7a1bd2, #5a0b9d);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
}


.confirmation-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 0, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.confirmation-popup.active {
    display: flex;
}

.confirmation-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 400px;
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: popupAppear 0.5s ease-out;
}

@keyframes popupAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #8a2be2;
}

.confirmation-icon i {
    font-size: 2.5rem;
    color: #8a2be2;
}

.confirmation-title {
    font-size: 1.4rem;
    color: #8a2be2;
    margin-bottom: 15px;
    font-weight: 600;
}

.confirmation-message {
    color: #a0a0ff;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.confirmation-btn {
    background: #8a2be2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.confirmation-btn:hover {
    background: #7a1bd2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}


.simple-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.big-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.big-contact-btn i {
    font-size: 1.5rem;
}

.big-whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.big-whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851, #0d7d5a);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.big-email-btn {
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
    color: white;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.big-email-btn:hover {
    background: linear-gradient(135deg, #7a1bd2, #5a0b9d);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.4);
}

.contact-choice-text {
    text-align: center;
    color: #d8b4fe;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.simple-contact-popup .popup-content {
    max-width: 450px;
}

.contact-instruction {
    text-align: center;
    color: #a0a0ff;
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-note {
    text-align: center;
    color: #8a2be2;
    font-size: 0.85rem;
    margin-top: 20px;
    font-style: italic;
}




@media screen and (max-width: 1024px) {
    .carousel {
        width: 240px;
        height: 160px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.75rem;
    }
    
    .card-icon {
        width: 30px;
        height: 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 40px 20px 15px;
    }
    
    body.main-content-active {
        min-height: 500vh;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
        padding: 0 15px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column:first-child {
        padding-right: 0;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .carousel {
        width: 200px;
        height: 140px;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.7rem;
    }
    
    .card-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 8px;
    }
    
    .viewport {
        perspective: 1500px;
    }
    
    .popup-content, .work-popup-content, .service-popup-content, .confirmation-content {
        padding: 15px;
        margin: 10px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .popup-contact-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .copyright {
        padding: 15px 15px 0;
        font-size: 0.8rem;
    }
    
    .service-icon-large {
        width: 40px;
        height: 40px;
    }
    
    .popup-header h3 {
        font-size: 1.2rem;
    }
    
    .confirmation-icon {
        width: 70px;
        height: 70px;
    }
    
    .confirmation-icon i {
        font-size: 2rem;
    }
    
    .big-contact-btn {
        padding: 16px 25px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    footer {
        padding: 30px 15px 10px;
    }
    
    body.main-content-active {
        min-height: 450vh;
    }
    
    .carousel {
        width: 160px;
        height: 120px;
    }
    
    .card {
        padding: 12px;
    }
    
    .card-title {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .card-description {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .card-icon {
        width: 22px;
        height: 22px;
        margin-bottom: 6px;
    }
    
    .viewport {
        perspective: 1200px;
    }
    
    .popup-content, .service-popup-content, .confirmation-content {
        max-width: 95%;
        padding: 15px;
    }
    
    .work-popup-content {
        max-width: 95%;
        padding: 15px;
    }
    
    .popup-header h3 {
        font-size: 1rem;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .copyright {
        padding: 15px 10px 0;
        font-size: 0.75rem;
    }
    
    .service-icon-large {
        width: 35px;
        height: 35px;
    }
    
    .service-popup-description {
        font-size: 0.85rem;
    }
    
    .service-benefits {
        padding: 10px;
    }
    
    .service-benefits li {
        font-size: 0.8rem;
    }
    
    .direct-contact-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .big-contact-btn {
        padding: 14px 20px;
        font-size: 1rem;
        gap: 10px;
    }
    
    .big-contact-btn i {
        font-size: 1.2rem;
    }
    
    .contact-instruction {
        font-size: 0.85rem;
    }
    
    .popup-contact-item p {
        font-size: 0.7rem;
    }
    
    .popup-contact-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .confirmation-content {
        padding: 20px 15px;
    }
    
    .confirmation-icon {
        width: 60px;
        height: 60px;
    }
    
    .confirmation-icon i {
        font-size: 1.8rem;
    }
    
    .confirmation-title {
        font-size: 1.2rem;
    }
    
    .confirmation-message {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 360px) {
    .carousel {
        width: 140px;
        height: 105px;
    }
    
    .card-title {
        font-size: 0.75rem;
    }
    
    .card-description {
        font-size: 0.6rem;
    }
    
    .big-contact-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .popup-contact-item strong {
        font-size: 0.75rem;
    }
}


@media screen and (max-width: 320px) {
    .carousel {
        width: 120px;
        height: 90px;
    }
    
    .card {
        padding: 8px;
    }
    
    .card-title {
        font-size: 0.7rem;
    }
    
    .card-description {
        font-size: 0.55rem;
    }
    
    .btn-3d-neon {
        padding: 14px 25px;
        font-size: 16px;
        min-width: 160px;
    }
    
    #imageContainer {
        width: 280px;
    }
    
    #imageDisplay {
        width: 240px;
        min-height: 200px;
    }
}


@media screen and (max-height: 500px) and (orientation: landscape) {
    #imageContainer {
        transform: translate(-50%, -50%) scale(0.8);
    }
    
    #imageDisplay {
        width: 200px;
        min-height: 150px;
    }
    
    .btn-3d-neon {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .popup-content, .service-popup-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        backdrop-filter: blur(15px);
    }
}


@media screen and (max-width: 768px) {
    footer {
        padding: 25px 15px 10px !important;
    }
    
    .footer-content {
        gap: 20px !important;
    }
    
    .footer-column p {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
    }
    
    .footer-links a {
        font-size: 0.8rem !important;
    }
    
    .social-links a {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    .contact-btn {
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
        margin-top: 5px !important;
    }
    
    .footer-column h3 {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
        padding-bottom: 4px !important;
    }
    
    .footer-column h3::after {
        width: 25px !important;
        height: 1.5px !important;
    }
    
    .copyright {
        padding: 8px 10px 0 !important;
        font-size: 0.7rem !important;
    }
}


@media screen and (max-width: 768px) {
    #imageContainer {
        
        top: auto !important; 
        left: 50% !important;
        bottom: 15vh !important; 
        transform: translateX(-50%) scale(1) !important; 
        min-height: auto !important;
        width: auto !important;
        padding: 0 !important;
    }

    #imageDisplay {
        display: none !important; 
    }

    .instruction-text {
        display: none !important; 
    }

    .btn-3d-neon {
        margin-top: 0 !important; 
        
        padding: 16px 32px;
        font-size: 16px;
        min-width: 180px;
    }

    
    #imageContainer.show {
        transform: translateX(-50%) scale(1) !important;
    }
}