:root {
    --brand-dark: #0f172a;
    --brand-blue: #2563eb;
    --brand-cyan: #06b6d4;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

.nav-gradient {
    background: linear-gradient(90deg, var(--brand-dark), #1e293b);
}

.hero-section {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
}

.hero-card {
    animation: floatIn 0.8s ease-out;
}

.hero-profile-photo {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

.hero-rotating-text {
    transition: opacity 0.35s ease;
}

.hero-rotating-text.fading {
    opacity: 0;
}

.case-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12) !important;
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

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

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.9rem;
    }
}
