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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: rgb(127, 136, 147);
    background-color: #fafbfc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-buttons {
    display: flex;
    gap: 8px;
}

/* Modern Button Styles */
.cta-button {
    background: #34CA70;
    color: white;
    padding: 10px 24px;
    border: 1px solid #34CA70;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 3px 3px 0px rgba(52, 202, 112, 0.2);
    display: inline-block;
    line-height: 1.4;
}

.cta-button:hover {
    background: #2bb863;
    box-shadow: 3px 3px 0px rgba(43, 184, 99, 0.3);
    transform: translateY(-1px);
    border-color: #2bb863;
}

.status-button {
    background: white;
    color: #34CA70;
    border: 1px solid #34CA70;
    padding: 9px 23px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    font-size: 14px;
    box-shadow: 3px 3px 0px rgba(52, 202, 112, 0.1);
    display: inline-block;
    line-height: 1.4;
}

.status-button:hover {
    background: #34CA70;
    color: white;
    box-shadow: 3px 3px 0px rgba(52, 202, 112, 0.3);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: #000;
    padding: 100px 0 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero .container {
    max-width: 1200px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 28px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-image {
    display: none;
}

.hero-image::before {
    display: none;
}

.hero-image-content {
    display: none;
}

.hero-image-text {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
    justify-content: center;
    align-items: stretch;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    flex: 1;
    min-width: 180px;
    text-align: center;
    display: inline-block;
    line-height: 1.4;
    box-shadow: 4px 4px 0px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: #34CA70;
    box-shadow: 4px 4px 0px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.cta-button-large {
    background: #34CA70;
    color: white;
    padding: 14px 32px;
    border: 1px solid #34CA70;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    min-width: 180px;
    text-align: center;
    display: inline-block;
    line-height: 1.4;
    box-shadow: 4px 4px 0px rgba(52, 202, 112, 0.2);
}

.cta-button-large:hover {
    background: #2bb863;
    color: white;
    box-shadow: 4px 4px 0px rgba(43, 184, 99, 0.3);
    transform: translateY(-1px);
    border-color: #2bb863;
}

/* Ensure consistent button heights */
.hero-buttons .cta-button-large,
.hero-buttons .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #3a3c4b;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p {
    color: rgb(127, 136, 147);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #34CA70;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: white;
}

.feature-card h3 {
    color: #3a3c4b;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: rgb(127, 136, 147);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: #f8fafc;
}

.services h2 {
    color: #3a3c4b;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-subtitle {
    text-align: center;
    color: rgb(127, 136, 147);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.service-item {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #34CA70;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid #34CA70;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-item:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    color: #3a3c4b;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-item h3 i {
    color: #34CA70;
    width: 20px;
    text-align: center;
}

.service-item p {
    color: rgb(127, 136, 147);
    font-size: 0.875rem;
}

/* Technologies Section */
.technologies {
    padding: 60px 0;
    background: #ffffff;
}

.technologies h2 {
    color: #3a3c4b;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.technologies-subtitle {
    text-align: center;
    color: rgb(127, 136, 147);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.tech-item:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.tech-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    display: block;
    filter: grayscale(0%) opacity(0.8);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.tech-item h3 {
    color: #3a3c4b;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.tech-item:hover h3 {
    color: #34CA70;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: #f8fafc;
    position: relative;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    text-align: center;
    color: rgb(127, 136, 147);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.operating-regions {
    text-align: center;
    color: rgb(127, 136, 147);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.operating-regions i {
    color: #34CA70;
}

.contact h2 {
    color: #3a3c4b;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.contact-subtitle {
    text-align: center;
    color: rgb(127, 136, 147);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    color: #222222;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #34CA70;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.captcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.submit-button {
    background: #34CA70;
    color: white;
    padding: 16px 40px;
    border: 1px solid #34CA70;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    width: 100%;
    box-shadow: 4px 4px 0px rgba(52, 202, 112, 0.2);
    line-height: 1.4;
}

.submit-button:hover:not(:disabled) {
    background: #2bb863;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(43, 184, 99, 0.3);
    border-color: #2bb863;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: 2px 2px 0px rgba(204, 204, 204, 0.2);
    border-color: #ccc;
}

.success-message,
.error-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: #222222;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
    margin: 0;
}

footer p:last-child {
    margin-top: 0.25rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #34CA70;
    color: white;
    border: 1px solid #34CA70;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease-out;
    z-index: 1000;
    box-shadow: 4px 4px 0px rgba(52, 202, 112, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.scroll-to-top:hover {
    background: #2bb863;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(43, 184, 99, 0.3);
    border-color: #2bb863;
}

.scroll-to-top:focus {
    outline: 2px solid #34CA70;
    outline-offset: 2px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Button Interactions */
.cta-button:active,
.status-button:active,
.cta-button-large:active,
.btn-secondary:active,
.submit-button:active,
.scroll-to-top:active {
    transform: translateY(0px);
    box-shadow: 2px 2px 0px rgba(52, 202, 112, 0.2);
}

/* Focus states for accessibility */
.cta-button:focus,
.status-button:focus,
.cta-button-large:focus,
.btn-secondary:focus,
.submit-button:focus {
    outline: 2px solid #34CA70;
    outline-offset: 2px;
}

/* Special styling for Microsoft logo */
.microsoft-logo {
    filter: grayscale(0%) opacity(0.8) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    header {
        padding: 6px 0;
    }

    nav {
        padding: 10px 16px;
    }

    .logo {
        height: 24px;
    }

    .nav-buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    .cta-button,
    .status-button {
        padding: 8px 16px;
        font-size: 13px;
        box-shadow: 2px 2px 0px rgba(52, 202, 112, 0.2);
    }

    .cta-button:hover,
    .status-button:hover {
        box-shadow: 2px 2px 0px rgba(52, 202, 112, 0.3);
        transform: translateY(-0.5px);
    }

    .hero {
        padding: 90px 0 50px;
        text-align: center;
        min-height: 60vh;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-button-large,
    .btn-secondary {
        flex: none;
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
    }

    .cta-button-large {
        box-shadow: 3px 3px 0px rgba(52, 202, 112, 0.2);
    }

    .cta-button-large:hover {
        box-shadow: 3px 3px 0px rgba(43, 184, 99, 0.3);
        transform: translateY(-1px);
    }

    .btn-secondary {
        box-shadow: 3px 3px 0px rgba(255, 255, 255, 0.2);
    }

    .btn-secondary:hover {
        box-shadow: 3px 3px 0px rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
    }

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

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

    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 400px;
    }

    .tech-logo {
        width: 50px;
        height: 50px;
    }

    .tech-item h3 {
        font-size: 0.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .submit-button {
        padding: 14px 32px;
        box-shadow: 3px 3px 0px rgba(52, 202, 112, 0.2);
    }

    .submit-button:hover:not(:disabled) {
        box-shadow: 3px 3px 0px rgba(43, 184, 99, 0.3);
        transform: translateY(-1px);
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 16px;
        box-shadow: 3px 3px 0px rgba(52, 202, 112, 0.2);
    }

    .scroll-to-top:hover {
        box-shadow: 3px 3px 0px rgba(43, 184, 99, 0.3);
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-logo {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .technologies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 500px;
    }
}

/* Tablet specific adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero .container {
        gap: 40px;
    }

    .about-content {
        gap: 2.5rem;
    }
}

/* Safari specific fixes */
@supports (-webkit-appearance: none) {
    .scroll-to-top {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}