* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    color: #0f172a;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero {
    position: relative;
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a);
    color: white;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}

.nav {
    position: relative;
    z-index: 10;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: #22d3ee;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #22d3ee;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.hero-text {
    max-width: 56rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-gradient {
    display: block;
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #06b6d4;
    color: white;
}

.btn-primary:hover {
    background-color: #0891b2;
    transform: scale(1.05);
}

.btn-secondary {
    border: 2px solid #475569;
    color: white;
    background-color: transparent;
}

.btn-secondary:hover {
    border-color: #22d3ee;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

.btn-full {
    width: 100%;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, white, transparent);
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.services-section {
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #475569;
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 1rem;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.gradient-blue {
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.gradient-purple {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.gradient-orange {
    background: linear-gradient(to bottom right, #f97316, #ef4444);
}

.gradient-green {
    background: linear-gradient(to bottom right, #22c55e, #10b981);
}

.gradient-cyan {
    background-color: #e0f2fe;
}

.gradient-cyan svg {
    color: #0891b2;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #475569;
    line-height: 1.625;
}

.projects-section {
    background-color: #f8fafc;
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.project-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f172a, rgba(15, 23, 42, 0.5), transparent);
    opacity: 0.6;
}

.project-links {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.project-link-btn {
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.project-link-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.project-link-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.project-content {
    padding: 2rem;
}

.project-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0891b2;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.625;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.875rem;
    border-radius: 9999px;
}

.contact-section {
    background-color: white;
}

.contact-wrapper {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-method-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.contact-method-text {
    color: #475569;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #06b6d4;
}

.form-textarea {
    resize: none;
}

.footer {
    background-color: #0f172a;
    color: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-description {
    color: #94a3b8;
    line-height: 1.625;
    margin-top: 1rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #22d3ee;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #1e293b;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-link:hover {
    background-color: #0891b2;
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #94a3b8;
}