:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;
    z-index: 1000;
    transition: all 0.4s ease;
    width: 100%;
    margin: 0;
    padding: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled-further {
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    width: 100%;
    gap: 1rem;
    margin-left: 0;
    position: relative;
}

.navbar .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 1rem;
    margin-left: 0;
    margin-right: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
    min-width: 0;
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
    margin-right: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 0;
    padding-left: 0.5rem;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

.logo {
    height: 65px;
    width: auto;
}

.logo-services-text {
    font-size: 0.6rem;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.navbar.scrolled .brand-name {
    color: var(--primary);
    text-shadow: none;
}

.brand-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.navbar.scrolled .brand-tagline {
    color: var(--secondary);
    text-shadow: none;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 0 0.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .btn-nav {
    box-shadow: none;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-nav::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    will-change: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: var(--text-white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-white);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-worldwide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.15;
}

.worldwide-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worldwide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.about.visible .about-content {
    opacity: 1;
    transform: translateY(0);
}

.about-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    padding: 10px;
    padding-bottom: 0;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.about-text {
    padding-left: 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    font-size: 1.1rem;
}

.tagline-icon {
    font-size: 2rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.services.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--index, 0) * 0.1s);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

/* Why Me Section */
.why-me {
    position: relative;
    padding: 6rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-me-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.why-me-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-me-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(16, 185, 129, 0.8));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.8rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.navbar.scrolled .lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dark);
    backdrop-filter: none;
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.navbar.scrolled .lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

/* Footer */
.footer {
    position: relative;
    background: var(--text-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
    z-index: 10;
}

.footer::before {
    display: none;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-location {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-left: 0;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-brand {
        gap: 0.8rem;
        order: 1;
        width: 100%;
        justify-content: center;
        padding-left: 0;
        margin-left: 0;
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    .nav-right {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-left: 0;
    }

    .nav-center {
        position: relative;
        left: auto;
        transform: none;
        order: 2;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .logo {
        height: 60px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-tagline {
        font-size: 0.75rem;
    }

    .logo-services-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
        padding-left: 0;
    }

    .nav-brand {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    .logo-wrapper {
        align-items: center;
    }

    .brand-text {
        gap: 0.1rem;
        text-align: center;
    }

    .logo {
        height: 50px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
    }

    .nav-center {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        border: none;
        padding: 0.5rem 0;
    }

    .logo-services-text {
        font-size: 0.6rem;
    }

    .language-switcher {
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
