* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --home-color: #2FB77F;
    --office-color: #1F6FEB;
    --accent-color: #FFD166;
    --dark-navy: #0a0e27;
    --black: #000000;
    --white: #ffffff;
    --gray: #8892b0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--dark-navy) 0%, var(--black) 100%);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.lang-btn.active {
    background: var(--accent-color);
    color: var(--black);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 50px;
}

.earth-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-image: url('https://images.unsplash.com/photo-1634176866089-b633f4aec882');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    animation: rotate 60s linear infinite;
    filter: brightness(0.7);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-extreme {
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(255, 209, 102, 0.5);
}

.title-360 {
    font-size: 120px;
    background: linear-gradient(135deg, var(--home-color), var(--office-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.title-solution {
    color: var(--white);
    font-size: 40px;
    letter-spacing: 8px;
}

.split-container {
    display: flex;
    gap: 100px;
    justify-content: center;
    align-items: stretch;
    position: relative;
    margin-top: 80px;
}

.vertical-divider {
    position: absolute;
    left: 50%;
    top: -50px;
    bottom: -50px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateX(-50%);
}

.service-side {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    position: relative;
}

.service-side::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--home-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.home-side:hover::before {
    background: linear-gradient(135deg, transparent, var(--home-color), transparent);
    opacity: 1;
}

.office-side:hover::before {
    background: linear-gradient(135deg, transparent, var(--office-color), transparent);
    opacity: 1;
}

.home-side:hover {
    background: rgba(47, 183, 127, 0.05);
    box-shadow: 0 20px 60px rgba(47, 183, 127, 0.2);
    transform: translateY(-10px);
}

.office-side:hover {
    background: rgba(31, 111, 235, 0.05);
    box-shadow: 0 20px 60px rgba(31, 111, 235, 0.2);
    transform: translateY(-10px);
}

.service-icon-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.home-side:hover .service-icon-wrapper {
    background: var(--home-color);
    box-shadow: 0 10px 40px rgba(47, 183, 127, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.office-side:hover .service-icon-wrapper {
    background: var(--office-color);
    box-shadow: 0 10px 40px rgba(31, 111, 235, 0.4);
    transform: scale(1.1) rotate(-5deg);
}

.service-icon {
    width: 60px;
    height: 60px;
    color: var(--white);
}

.service-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 4px;
}

.view-services-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid;
    border-radius: 12px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.view-services-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.home-btn {
    border-color: var(--home-color);
}

.home-btn::before {
    background: var(--home-color);
}

.home-btn:hover::before {
    width: 300px;
    height: 300px;
}

.office-btn {
    border-color: var(--office-color);
}

.office-btn::before {
    background: var(--office-color);
}

.office-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-services-btn:hover {
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.view-services-btn span {
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-section {
    padding: 100px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.services-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-section.hidden {
    display: none;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--white), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--home-color), var(--office-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card.home-mode::before {
    background: linear-gradient(135deg, var(--home-color), rgba(47, 183, 127, 0.3));
}

.service-card.office-mode::before {
    background: linear-gradient(135deg, var(--office-color), rgba(31, 111, 235, 0.3));
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card.home-mode:hover .service-card-icon {
    background: var(--home-color);
    box-shadow: 0 10px 30px rgba(47, 183, 127, 0.4);
}

.service-card.office-mode:hover .service-card-icon {
    background: var(--office-color);
    box-shadow: 0 10px 30px rgba(31, 111, 235, 0.4);
}

.service-card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.learn-more-btn {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--accent-color);
    color: var(--black);
    transform: translateX(5px);
}

/* Service Modal */
.service-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-modal.visible {
    opacity: 1;
    pointer-events: all;
}

.service-modal.hidden {
    display: none;
}

.modal-content {
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.service-modal.visible .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--black);
    transform: rotate(90deg);
}

.modal-3d-element {
    width: 100%;
    height: 200px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(47, 183, 127, 0.1), rgba(31, 111, 235, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* prevents the image from overflowing */
    animation: float 3s ease-in-out infinite;
    position: relative;
}

/* For emoji text (if still used) */
.modal-3d-element:not(:has(img)) {
    font-size: 80px;
}

/* For image version */
.modal-3d-element img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    animation: float 3s ease-in-out infinite;
}


@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.modal-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.modal-description {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-features {
    list-style: none;
}

.modal-features li {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    color: var(--gray);
}

/* How It Works Section */
.how-section {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.01);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.5s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    padding: 20px;
    background: linear-gradient(135deg, var(--home-color), var(--office-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(255, 209, 102, 0.3);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.1);
}

.contact-form button {
    padding: 18px 40px;
    background: var(--accent-color);
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 209, 102, 0.3);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-partners h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-partners p {
    color: var(--gray);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }
    
    .title-360 {
        font-size: 90px;
    }
    
    .split-container {
        gap: 50px;
    }
    
    .earth-background {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .title-360 {
        font-size: 70px;
    }
    
    .title-solution {
        font-size: 24px;
    }
    
    .split-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-side {
        max-width: 100%;
    }
    
    .earth-background {
        width: 400px;
        height: 400px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}


