/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: oklch(0.99 0.002 264);
    --foreground: oklch(0.15 0.01 264);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.15 0.01 264);
    --primary: oklch(0.25 0.08 264);
    --primary-foreground: oklch(0.99 0.002 264);
    --secondary: oklch(0.4 0.15 210);
    --secondary-foreground: oklch(0.99 0.002 264);
    --muted: oklch(0.96 0.005 264);
    --muted-foreground: oklch(0.5 0.01 264);
    --accent: oklch(0.4 0.15 210);
    --accent-foreground: oklch(0.99 0.002 264);
    --border: oklch(0.9 0.005 264);
    --input: oklch(0.9 0.005 264);
    --ring: oklch(0.4 0.15 210);
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

@media (min-width: 768px) {
    .header-content {
        height: 80px;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header.scrolled .logo-wrapper {
    background: var(--primary);
    border-radius: 0.5rem;
    padding: 6px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
}

.logo-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .logo-title {
    color: var(--foreground);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.header.scrolled .logo-subtitle {
    color: var(--muted-foreground);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.header.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.8);
}

.header.scrolled .nav-link:hover {
    color: var(--foreground);
}

.header-contact {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-contact {
        display: flex;
    }
}

.contact-email {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: white;
}

.header.scrolled .contact-email {
    color: var(--muted-foreground);
}

.header.scrolled .contact-email:hover {
    color: var(--foreground);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.header.scrolled .mobile-menu-btn {
    color: var(--foreground);
}

.mobile-menu {
    display: none;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled .mobile-menu {
    border-top-color: var(--border);
}

.mobile-menu.active {
    display: block;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(25, 25, 25, 0.9), rgba(25, 25, 25, 0.8), rgba(255, 255, 255, 0.95));
    z-index: 10;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-container {
    position: relative;
    z-index: 20;
    padding-top: 80px;
    padding-bottom: 64px;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(64, 150, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}

.hero-scroll svg {
    color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 0;
    }
}

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

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(25, 25, 25, 0.1);
    border-radius: 9999px;
}

.section-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* Values Section */
.values {
    background: rgba(240, 240, 240, 0.3);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.5s ease;
}

.value-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.value-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(25, 25, 25, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.value-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--card-foreground);
    line-height: 1.6;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-content {
    max-width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.stat-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(64, 150, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--secondary);
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.image-wrapper {
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--muted);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .about-card {
        padding: 3rem;
    }
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--card-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.875rem;
    }
}

.card-divider {
    width: 4rem;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 9999px;
}

.card-content {
    max-width: 56rem;
    margin: 0 auto;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

.card-content p {
    margin-bottom: 1.5rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}

.font-semibold {
    font-weight: 600;
}

/* Services Section */
.services {
    background: rgba(240, 240, 240, 0.3);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.7s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(25, 25, 25, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--card-foreground);
    margin-bottom: 1rem;
}

.service-description {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(64, 150, 255, 0.1);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.services-cta {
    background: var(--primary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .services-cta {
        padding: 3rem;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 1.875rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Partners Section */
.partners {
    background: rgba(240, 240, 240, 0.3);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partner-card {
    position: relative;
    height: 16rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s ease;
}

.partner-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.partner-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 25, 25, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover .partner-overlay {
    opacity: 1;
}

.partner-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.partner-services {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 6rem;
}

.tab-btn:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .portfolio-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.portfolio-item {
    display: none;
}

.portfolio-item.active {
    display: block;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--muted);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.7s ease;
}

.portfolio-image:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-image:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25, 25, 25, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 0.25rem;
}

.portfolio-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: white;
}

/* Contact Section */
.contact {
    background: rgba(240, 240, 240, 0.3);
}

.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card,
.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--card-foreground);
    margin-bottom: 1.5rem;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(25, 25, 25, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.info-label {
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.info-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--input);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px rgba(64, 150, 255, 0.1);
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-email a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: white;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-2rem);
    transition: all 1s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(2rem);
    transition: all 1s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

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

