@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Base typography */
body {
    font-family: 'Inter', sans-serif;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.gradient-text {
    background: linear-gradient(135deg, #15803d, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

iframe {
    margin: 0 auto;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #15803d, #22c55e);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-dropdown-menu {
    z-index: 60;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Cards & interactive surfaces */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-6px);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.1), rgba(34, 197, 94, 0.1));
    border-left: 4px solid #15803d;
}

.step-circle {
    background: linear-gradient(135deg, #15803d, #22c55e);
}

/* Tabs & accordions */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content.active {
    max-height: 500px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Homepage layout helpers */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.parallax-section {
    position: relative;
    overflow: hidden;
}

.blob {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {
    0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    50% { border-radius: 58% 42% 30% 70% / 55% 55% 45% 45%; }
}

.stagger-animation > * {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-animation.animate > * {
    animation: fadeUp 0.6s ease forwards;
}

.stagger-animation.animate > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation.animate > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation.animate > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation.animate > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation.animate > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation.animate > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Listing utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
