/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #334155;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #60a5fa;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-content {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1s ease, transform 1s ease;
}

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

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

.profile-picture-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.profile-picture-wrapper {
    position: relative;
}

.profile-picture {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .profile-picture {
        width: 10rem;
        height: 10rem;
    }
}

.profile-picture-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(to top right, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #a78bfa, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
}

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

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

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

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.flag {
    font-size: 1.125rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

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

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    border: 1px solid #475569;
    color: #cbd5e1;
    background: transparent;
}

.btn-outline:hover {
    background-color: #1e293b;
}

/* About Section */
.about {
    padding: 5rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
}

.section-center {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: white;
}

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

.about-text {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.625;
    margin-bottom: 2rem;
}

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

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

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

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-number.blue { color: #60a5fa; }
.stat-number.purple { color: #a78bfa; }
.stat-number.green { color: #4ade80; }
.stat-number.orange { color: #fb923c; }

.stat-label {
    color: #94a3b8;
}

/* Journey Section */
.journey {
    padding: 5rem 1.5rem;
}

.section-subtitle {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    margin-bottom: 4rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.legend-dot.orange { background-color: #f97316; }
.legend-dot.green { background-color: #22c55e; }

.legend-text {
    color: #94a3b8;
}

.legend-icon {
    font-size: 0.75rem;
    color: #4ade80;
}

.journey-container {
    position: relative;
}

.road-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, #475569, #64748b, #475569);
    display: none;
}

@media (min-width: 768px) {
    .road-line {
        display: block;
    }
}

.journey-phases {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.journey-phase {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
}

@media (min-width: 768px) {
    .journey-phase {
        flex-direction: row;
    }
    
    .journey-phase.reverse {
        flex-direction: row-reverse;
    }
}

.journey-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
}

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

.marker-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 4px solid #0f172a;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot.orange { background-color: #f97316; }
.marker-dot.green { background-color: #22c55e; }
.marker-dot.blue { background-color: #3b82f6; }

.marker-icon {
    font-size: 1rem;
    color: white;
}

.marker-period {
    margin-top: 0.5rem;
    background-color: #1e293b;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #475569;
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
}

.journey-card {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    width: 100%;
}

@media (min-width: 768px) {
    .journey-card {
        width: 41.666667%;
    }
}

.journey-card:hover {
    background-color: rgba(30, 41, 59, 0.7);
}

.journey-card.nonprofit {
    border-color: rgba(34, 197, 94, 0.5);
    background-color: rgba(20, 83, 45, 0.1);
}

.card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-sign {
    min-width: fit-content;
    flex-shrink: 0;
    padding: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    text-align: center;
}

.location-sign.orange {
    background: linear-gradient(to bottom right, #ea580c, #c2410c);
}

.location-sign.green {
    background: linear-gradient(to bottom right, #16a34a, #15803d);
}

.location-sign.blue {
    background: linear-gradient(to bottom right, #2563eb, #1d4ed8);
}

.location-flag {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.location-place {
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    line-height: 1.25;
}

.location-country {
    font-size: 0.75rem;
    color: #e2e8f0;
}

.card-text {
    flex: 1;
    min-width: 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.phase-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.heart-icon {
    font-size: 1.125rem;
    color: #4ade80;
}

.role-title {
    font-size: 1.125rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.company-name {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.highlights {
    list-style: none;
    padding: 0;
}

.highlights li {
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.highlight-arrow {
    color: #60a5fa;
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.highlights li span:last-child {
    font-size: 0.875rem;
}

.journey-end {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.end-marker {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.end-icon {
    font-size: 1.5rem;
    color: white;
}

/* Products Section */
.products {
    padding: 5rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
}

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

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

.product-card {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    group: hover;
}

.product-card:hover {
    background-color: rgba(30, 41, 59, 0.7);
}

.product-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.product-logo {
    min-width: fit-content;
    flex-shrink: 0;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blue-gradient {
    background: linear-gradient(to bottom right, #2563eb, #1e40af);
}

.red-gradient {
    background: linear-gradient(to bottom right, #dc2626, #b91c1c);
}

.orange-gradient {
    background: linear-gradient(to bottom right, #ea580c, #c2410c);
}

.amber-gradient {
    background: linear-gradient(to bottom right, #d97706, #b45309);
}

.purple-gradient {
    background: linear-gradient(to bottom right, #9333ea, #7c2d12);
}

.cyan-gradient {
    background: linear-gradient(to bottom right, #0891b2, #0e7490);
}

.logo-image {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.product-text {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #60a5fa;
}

.product-subtitle {
    font-size: 1.125rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-description {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.625;
}

/* Skills Section */
.skills {
    padding: 5rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
}

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

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

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

.skill-category {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.skill-category:hover {
    background-color: rgba(30, 41, 59, 0.7);
}

.category-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background-color: #334155;
    color: #cbd5e1;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.skill-badge:hover {
    background-color: #475569;
}

/* Blog Section */
.blog {
    padding: 5rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
}

/* Contact Section */
.contact {
    padding: 5rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid #334155;
}

.footer-content {
    text-align: center;
    color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .journey-card,
    .product-card,
    .skill-category {
        padding: 1.5rem;
    }
    
    .product-content,
    .card-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .location-sign,
    .product-logo {
        align-self: center;
    }
}

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

/* Icon styling */
.icon {
    font-size: 1.125rem;
}

/* Animation classes */
.fade-in-delay {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}