/* Custom animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-animate {
    opacity: 0;
}

.scroll-animate.active {
    opacity: 1;
}

/* Timeline styles */
.timeline-line {
    background: linear-gradient(180deg, transparent, #059669, #059669, transparent);
}

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

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #059669, #92400e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* NordSpace-inspired colors and shadows */
.nord-shadow {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.nord-border {
    border: 1px solid rgba(229, 231, 235, 0.8);
}

/* Clean button styling */
.nord-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.nord-button:hover {
    transform: translateY(-2px);
}

/* Navigation Styles */
.nav-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    z-index: 50;
}

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

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(34, 197, 94, 0.1), rgba(251, 191, 36, 0.1));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

/* Section Backgrounds */
.section-background {
    position: absolute;
    inset: 0;
    opacity: 0.05;
}

.section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Styles */
.service-card {
    height: 100%;
    padding: 2rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
}

.timeline-line-vertical {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0.25rem;
    height: 100%;
    background: linear-gradient(180deg, transparent, #059669, #059669, transparent);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 1rem;
    background: #15803d;
    border-radius: 9999px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Profile Cards */
.profile-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.profile-image {
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
}

.profile-initials {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.25rem;
    font-weight: bold;
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 0.5rem;
    max-width: 28rem;
    width: 100%;
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-line-vertical {
        display: none;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-item {
        margin-bottom: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.bg-primary {
    background: linear-gradient(to right, #15803d, #d97706);
}

.text-primary {
    color: #15803d;
}

.text-secondary {
    color: #d97706;
}

.border-primary {
    border-color: #15803d;
}

.hover-primary:hover {
    background-color: #166534;
}

.hover-secondary:hover {
    background-color: #ea580c;
}