
/* 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, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-cta {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #1d4ed8;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    width: 24px;
    height: 24px;
}

.hamburger {
    width: 100%;
    height: 2px;
    background: #374151;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #374151;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 2rem 1rem;
}

.hero-container {
    text-align: center;
    max-width: 800px;
    position: relative;
}

.hero-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.nest-outer {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.nest-inner {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nest-core {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #f59e0b, #f97316);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.typing-text {
    color: #2563eb;
}

.cursor {
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    color: #6b7280;
    margin-bottom: 2rem;
}

.highlight {
    color: #f59e0b;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #dbeafe;
    transform: translateY(-2px);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    width: 16px;
    height: 16px;
    background: #60a5fa;
    top: 25%;
    left: 10%;
    animation-delay: 0.1s;
}

.floating-2 {
    width: 24px;
    height: 24px;
    background: #a78bfa;
    top: 33%;
    right: 20%;
    animation-delay: 0.3s;
}

.floating-3 {
    width: 12px;
    height: 12px;
    background: #fbbf24;
    bottom: 33%;
    left: 25%;
    animation-delay: 0.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.chevron-down {
    font-size: 2rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.scroll-indicator:hover .chevron-down {
    color: #2563eb;
}

/* Section Styles */
.section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: bold;
    color: #374151;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.text-blue {
    color: #2563eb;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #374151;
}

.about-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.mission-box {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.mission-box h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 1rem;
}

.mission-box p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
}

.timeline {
    margin-top: 3rem;
}

.timeline h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 2rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.timeline-item {
    text-align: center;
}

.timeline-icon {
    width: 64px;
    height: 64px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.timeline-purple {
    background: #7c3aed;
}

.timeline-amber {
    background: #f59e0b;
}

.timeline-item h4 {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #dbeafe 100%);
}

.section-header {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tool-tag {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.service-testimonial {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.service-testimonial p {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border: 1px solid #f3f4f6;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-content h3 {
    color: #2563eb;
}

.portfolio-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stack-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.portfolio-btn {
    width: 100%;
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.portfolio-btn:hover {
    background: #2563eb;
    color: white;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    padding-top: 1.5rem;
}

.form-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: #6b7280;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-services h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav button {
    background: none;
    border: none;
    color: #d1d5db;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.footer-nav button:hover {
    color: #60a5fa;
}

.footer-service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-service-list p {
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #9ca3af;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #60a5fa;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-30px);
    }
    70% {
        transform: translateY(-15px);
    }
    90% {
        transform: translateY(-4px);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-cta:not(.mobile) {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-section {
        padding: 1rem 0.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}