:root {
    --primary-color: #0071e3;
    --text-color: #1d1d1f;
    --bg-color: #f9f9f9;
    /* Matched to logo background */
    --secondary-bg: #f0f0f2;
    --accent-color: #86868b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    /* Increased height for larger logo */
    background: rgba(249, 249, 249, 0.8);
    /* Matched background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    /* Increased size */
    width: auto;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.02);
    /* Help blend the background */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    padding-top: 140px;
    /* Adjusted for taller nav */
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.tagline {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--accent-color);
}

/* Contact Section */
#contact {
    padding: 100px 0;
}

.contact-card {
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    color: white;
    padding: 5rem 3rem;
    border-radius: 30px;
    text-align: center;
}

.contact-card h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    text-align: left;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    font-weight: 600;
}

.contact-email,
.contact-link {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    word-break: break-all;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.company-meta {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 100px;
    /* Much larger for impact */
    width: auto;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.02);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-meta {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 968px) {
    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .contact-email {
        font-size: 1.5rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .contact-card {
        padding: 4rem 1.5rem;
    }

    .contact-email {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}