/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
}

.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/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f1f5f9;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

@media (min-width: 640px) {
    .nav-wrapper {
        height: 5rem;
    }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
}

@media (min-width: 640px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

.logo-dot {
    color: #4fd1c7;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #4fd1c7;
}

.btn-hire {
    background-color: #1a365d;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-hire:hover {
    background-color: #1e293b;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

@media (min-width: 640px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.8), #ffffff);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(79, 209, 199, 0.1);
    color: #4fd1c7;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-accent {
    color: #4fd1c7;
}

.hero-description {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    color: #64748b;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    width: 100%;
    background-color: #4fd1c7;
    color: #1a365d;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s;
    box-shadow: 0 10px 15px rgba(79, 209, 199, 0.2);
}

@media (min-width: 640px) {
    .btn-primary {
        width: auto;
    }
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    width: 100%;
    background-color: white;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s;
}

@media (min-width: 640px) {
    .btn-secondary {
        width: auto;
    }
}

.btn-secondary:hover {
    background-color: #f8fafc;
}

.icon-arrow {
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.text-accent {
    color: #4fd1c7;
}

.about-text {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    color: #4fd1c7;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.about-visual {
    position: relative;
}

.about-box {
    aspect-ratio: 1;
    background-color: #1a365d;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
}

.about-box-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(79, 209, 199, 0.1);
}

.about-box-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(-45deg);
}

.about-box-quote {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-box-quote p {
    color: white;
    font-weight: 500;
    font-style: italic;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-center {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title-center {
        font-size: 2.25rem;
    }
}

.section-description {
    color: #64748b;
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    background-color: white;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(79, 209, 199, 0.3);
    box-shadow: 0 25px 50px rgba(79, 209, 199, 0.05);
}

.service-icon {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background-color: #f8fafc;
    border-radius: 1rem;
    display: inline-block;
    color: #4fd1c7;
    transition: background-color 0.3s;
}

.service-card:hover .service-icon {
    background-color: rgba(79, 209, 199, 0.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background-color: #0f172a;
    color: white;
}

.projects-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .projects-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-title-light {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title-light {
        font-size: 2.25rem;
    }
}

.projects-subtitle {
    color: #94a3b8;
    max-width: 36rem;
}

.projects-link {
    color: #4fd1c7;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projects-link:hover {
    text-decoration: underline;
}

.icon-arrow-small {
    flex-shrink: 0;
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #1e293b;
    border: 1px solid #334155;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-image {
    aspect-ratio: 4/3;
    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-content {
    padding: 1.5rem;
}

.project-category {
    color: #4fd1c7;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-intro {
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    padding: 0.75rem;
    background-color: #f8fafc;
    border-radius: 0.75rem;
    color: #4fd1c7;
    flex-shrink: 0;
}

.contact-label {
    font-weight: 700;
    color: #1a365d;
}

.contact-value {
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-link {
    padding: 0.75rem;
    background-color: #1a365d;
    color: white;
    border-radius: 9999px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background-color: #4fd1c7;
}

.contact-form-wrapper {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4fd1c7;
    box-shadow: 0 0 0 3px rgba(79, 209, 199, 0.1);
}

.form-textarea {
    resize: none;
}

.form-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.active {
    display: block;
}

.btn-submit {
    width: 100%;
    background-color: #1a365d;
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover:not(:disabled) {
    background-color: #1e293b;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Footer */
.footer {
    background-color: #0f172a;
    padding: 3rem 0;
    border-top: 1px solid #1e293b;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-description {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-copyright {
    color: #475569;
    font-size: 0.75rem;
}
